5 #include "caffe2/core/net.h" 6 #include "caffe2/mobile/contrib/ios/ios_caffe_defines.h" 7 #include "caffe2/predictor/predictor.h" 10 std::vector<int64_t> dims;
22 const caffe2::NetDef& predict_net,
23 bool disableMultithreadProcessing,
24 bool allowMetalOperators);
25 void run(
const Tensor& inData,
Tensor& outData, std::string& errorMessage);
28 const bool usingMetalOperators;
32 const caffe2::NetDef& predict_net,
33 bool disableMultithreadProcessing,
34 bool usingMetalOperators);