1 #include <caffe2/ideep/operators/conv_pool_base_op.h> 7 USE_IDEEP_DEF_ALIASES();
8 USE_IDEEP_CONV_POOL_BASE_FUNCTIONS();
13 bool RunOnDeviceWithOrderNCHW()
override {
14 const auto& X =
Input(INPUT);
15 auto* Y = Output(OUTPUT);
17 ideep::channel_shuffle_forward::compute(X, *Y, group_);
29 USE_IDEEP_DEF_ALIASES();
30 USE_IDEEP_CONV_POOL_BASE_FUNCTIONS();
35 bool RunOnDeviceWithOrderNCHW()
override {
36 const auto& dY =
Input(OUTPUT_GRAD);
37 auto* dX = Output(INPUT_GRAD);
39 ideep::channel_shuffle_backward::compute(dY, *dX, group_);
45 INPUT_TAGS(OUTPUT_GRAD);
46 OUTPUT_TAGS(INPUT_GRAD);
Workspace is a class that holds all the related objects created during runtime: (1) all blobs...
const Tensor & Input(int idx, DeviceType type=Context::GetDeviceType())
Retrieve a non-owning reference to the input at position 'idx' for this operator. ...
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...