Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Static Public Attributes
caffe2::MaxRangeReducerDef Struct Reference

Public Types

template<typename T , class Context >
using Reducer = MaxRangeReducer< T, Context >
 
template<typename T , class Context >
using ReducerGradient = MaxRangeReducerGradient< T, Context >
 

Static Public Attributes

static constexpr const char * name = "Max"
 
static constexpr const char * doc
 

Detailed Description

Definition at line 305 of file reducer_functors.h.

Field Documentation

constexpr const char* caffe2::MaxRangeReducerDef::doc
static
Initial value:
=
"Max computation is done element-wise, so that each element of the "
"output slice corresponds to the max value of the respective "
"elements in the input slices. Operation doesn't change the shape of "
"individual blocks. This implementation imitates torch nn.Max operator. "
"If the maximum value occurs more than once, the operator will return "
"the first occurence of value. When computing the gradient using the "
"backward propagation, the gradient input corresponding to the first "
"occurence of the maximum value will be used."

Definition at line 311 of file reducer_functors.h.


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