1 #include "caffe2/mobile/contrib/arm-compute/core/context.h" 2 #include "caffe2/mobile/contrib/arm-compute/core/operator.h" 3 #include "caffe2/operators/reshape_op.h" 13 bool RunOnDevice()
override;
18 auto *Xblob = OperatorBase::Inputs()[0];
19 auto X = GLContext::getGLTensor<T>(Xblob);
20 LOG(INFO) <<
"[C2DEBUG] X: " << X->dim32(0) <<
" " << X->dim32(1) <<
" " << X->dim32(2) <<
" " << X->dim32(3);
21 auto arg = OperatorBase::GetRepeatedArgument<int>(
"shape");
22 for (
int i = 0; i < arg.size(); ++i) {
23 LOG(INFO) <<
"[C2DEBUG] shape: " << arg[i];
Workspace is a class that holds all the related objects created during runtime: (1) all blobs...
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...