|
void | run (const Tensor &inData, Tensor &outData, std::string &errorMessage) |
|
|
static Caffe2IOSPredictor * | NewCaffe2IOSPredictor (const caffe2::NetDef &init_net, const caffe2::NetDef &predict_net, bool disableMultithreadProcessing, bool allowMetalOperators) |
| Allow converting eligible operators to Metal GPU framework accelerated operators. More...
|
|
|
const bool | usingMetalOperators |
|
Definition at line 14 of file ios_caffe_predictor.h.
Caffe2IOSPredictor * Caffe2IOSPredictor::NewCaffe2IOSPredictor |
( |
const caffe2::NetDef & |
init_net, |
|
|
const caffe2::NetDef & |
predict_net, |
|
|
bool |
disableMultithreadProcessing, |
|
|
bool |
allowMetalOperators |
|
) |
| |
|
static |
Allow converting eligible operators to Metal GPU framework accelerated operators.
Setting this flag to true doesn't gaurantee predictor will be using Metal operators; Client code must check usingMetalOperators flag to determine predictor is using them.
Definition at line 11 of file ios_caffe_predictor.cc.
The documentation for this class was generated from the following files: