Apache SINGA
A distributed deep learning platform .
|
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 | |
sum reducer