Apache SINGA
A distributed deep learning platform .
 All Classes Namespaces Files Functions Variables Typedefs Macros
Static Public Member Functions | Static Public Attributes | List of all members
mshadow::red::sum Struct Reference

sum reducer More...

#include <tensor_base.h>

Static Public Member Functions

static MSHADOW_XINLINE void Reduce (volatile real_t &dst, volatile real_t src)
 do reduction into dst
 
static MSHADOW_XINLINE real_t PartialGrad (real_t redres, real_t redsrc)
 calculate gradient of redres with respect to redsrc, redres: reduced result, redsrc: one of reduction element
 

Static Public Attributes

static MSHADOW_CONSTEXPR real_t kInitV = 0.0f
 an intial value of reducer
 

Detailed Description

sum reducer


The documentation for this struct was generated from the following file: