2 #include "caffe2/core/logging.h" 3 #include "caffe2/predictor/emulator/emulator.h" 4 #include "caffe2/predictor/emulator/output_formatter.h" 5 #include "caffe2/predictor/emulator/profiler.h" 7 C10_DECLARE_int(warmup);
9 C10_DECLARE_int(threads);
10 C10_DECLARE_int(runs);
11 C10_DECLARE_string(run_net);
12 C10_DECLARE_string(init_net);
13 C10_DECLARE_string(data_net);
14 C10_DECLARE_string(input_dims);
15 C10_DECLARE_string(input_types);
21 std::unique_ptr<Profiler> profiler;
22 std::unique_ptr<Emulator> emulator;
23 std::unique_ptr<OutputFormatter> formatter;
38 virtual void pre_benchmark_setup() {}
40 virtual void post_benchmark_cleanup() {}
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...