MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Main

Function Main

tensorflow/lite/tools/benchmark/benchmark_plus_flex_main.cc:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace benchmark {
22
23int Main(int argc, char** argv) {
24 ::tflite::InitTensorFlow();
25#ifdef TFLITE_CUSTOM_OPS_HEADER
26 TFLITE_LOG(INFO) << "STARTING with custom ops!";
27#else
28 TFLITE_LOG(INFO) << "STARTING!";
29#endif
30 BenchmarkTfLiteModel benchmark;
31 BenchmarkLoggingListener listener;
32 benchmark.AddListener(&listener);
33 benchmark.Run(argc, argv);
34 return 0;
35}
36} // namespace benchmark
37} // namespace tflite
38

Callers 1

mainFunction · 0.70

Calls 3

InitTensorFlowFunction · 0.85
AddListenerMethod · 0.45
RunMethod · 0.45

Tested by

no test coverage detected