1 #ifndef CHANNEL_BACKPROP_STATS_OP_H 2 #define CHANNEL_BACKPROP_STATS_OP_H 4 #include "caffe2/core/context.h" 5 #include "caffe2/core/operator.h" 6 #include "caffe2/utils/math.h" 10 template <
class Context>
13 USE_OPERATOR_CONTEXT_FUNCTIONS;
14 template <
class... Args>
17 ~ChannelBackpropStatsOp() {}
19 bool RunOnDevice()
override {
24 INPUT_TAGS(INPUT, SAVED_MEAN, SAVED_INV_STDDEV, OUTPUT_GRAD);
25 OUTPUT_TAGS(SCALE_GRAD, BIAS_GRAD);
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...