Caffe2 - C++ API
A deep learning, cross platform ML framework
backend_cutting.h
1 #pragma once
2 
3 
4 #include "caffe2/core/common.h"
5 #include "caffe2/proto/caffe2_pb.h"
6 
7 #include <functional>
8 
9 namespace caffe2 {
10 namespace opt {
11 
12 CAFFE2_API caffe2::NetDef OptimizeForBackend(
13  caffe2::NetDef& net,
14  std::function<bool(const caffe2::OperatorDef&)> supports,
15  std::function<caffe2::NetDef(const caffe2::NetDef&)> transform_func,
16  bool debug = false);
17 }
18 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13