Caffe2 - C++ API
A deep learning, cross platform ML framework
2 #pragma once
3 #include "caffe2/core/net.h"
4 #include "mpscnn.h"
6 namespace caffe2 {
7 // We currently only try to convert a fixed set of operators that handle a subset of a full
8 // CNN. We also only run when MPSCNN is available, provides a speedup.
9 // On failure, returns false. On success, returns true, and sets the MPSCNN net in the output
10 // parameter.
11 // The rewrite function now supports insertion of copies in intermediate ops.
12 bool tryConvertToMPSCNNIntermediateCopies(const NetDef& initNet,
13  const NetDef& predictNet,
14  NetDef* mpscnnPredictNet);
15 NetDef setSpecialArgs(const NetDef& def);
16 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13