Caffe2 - C++ API
A deep learning, cross platform ML framework
opengl_test.h
1 
2 #include "caffe2/proto/caffe2.pb.h"
3 
4 namespace caffe2 {
5 void testOpenGL();
6 void compareModelsForOpenGL(std::string name,
7  const NetDef& initNet,
8  NetDef predictNet,
9  int width,
10  int height,
11  int channel,
12  std::string input_type,
13  std::string input_order);
14 
15 void compareBatchedToTiledModels(std::string name,
16  const NetDef& initNet,
17  NetDef predictNet,
18  int width,
19  int height,
20  int channel,
21  std::string input_type,
22  std::string input_order);
23 
24 int runModelBenchmarks(caffe2::NetDef& init_net,
25  caffe2::NetDef& predict_net,
26  int warm_up_runs,
27  int main_runs,
28  int channel,
29  int height,
30  int width,
31  std::string input_type,
32  std::string input_order,
33  std::string engine,
34  bool run_individual = false,
35  bool use_texture_input = false,
36  bool use_tiling = false,
37  bool run_fusion = true);
38 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...