Caffe2 - C++ API
A deep learning, cross platform ML framework
rewrite_net.h
1 
2 #pragma once
3 #include "caffe2/mobile/contrib/arm-compute/core/net_gl.h"
4 #include <unordered_set>
5 
6 namespace caffe2 {
7 bool tryConvertToOpenGL(const NetDef& predictNet,
8  NetDef* glPredictNet,
9  bool runFusion,
10  std::unordered_set<std::string> cpuOps);
11 
12 // Exposed for testing
13 NetDef rewritePredictNetForOpenGL(const NetDef& predictNet,
14  bool runFusion,
15  std::unordered_set<std::string> cpuOps);
16 void dumpDefForOpenGL(const NetDef& net);
17 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...