Caffe2 - C++ API
A deep learning, cross platform ML framework
optimizer.h
1 #ifndef CAFFE2_OPT_OPTIMIZER_H
2 #define CAFFE2_OPT_OPTIMIZER_H
3 
4 #include "caffe2/core/common.h"
5 #include "caffe2/proto/caffe2_pb.h"
6 #include "caffe2/core/workspace.h"
7 
8 namespace caffe2 {
9 namespace opt {
10 
11 CAFFE2_API NetDef optimize(NetDef net, Workspace* ws, int level = 1);
12 CAFFE2_API NetDef optimize(NetDef net, int level = 1);
13 
14 } // namespace opt
15 } // namespace caffe2
16 
17 #endif // CAFFE2_OPT_OPTIMIZER_H
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13