1 #include "caffe2/core/context_gpu.h" 2 #include "caffe2/operators/scale_op.h" 7 bool ScaleOp<CUDAContext>::RunOnDevice() {
8 return DispatchHelper<TensorTypes<at::Half, float>>::call(
this, Input(0));
11 REGISTER_CUDA_OPERATOR(Scale, ScaleOp<CUDAContext>);
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...