From 1b2cd0de9824e39c885fb293b311e5bdadb89496 Mon Sep 17 00:00:00 2001 From: "ysh329@sina.com" Date: Sun, 6 Sep 2020 10:42:44 +0000 Subject: [PATCH] fix benchmark models.cc for tflite --- tflite/benchmark_model.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tflite/benchmark_model.cc b/tflite/benchmark_model.cc index 28a18e0..6b9b510 100644 --- a/tflite/benchmark_model.cc +++ b/tflite/benchmark_model.cc @@ -52,7 +52,7 @@ void BenchmarkLoggingListener::OnBenchmarkEnd(const BenchmarkResults& results) { auto init_mem_usage = results.init_mem_usage(); auto overall_mem_usage = results.overall_mem_usage(); - std::cout << " min=" << inference_us.min() / 1000. + std::cout << "time cost: min=" << inference_us.min() / 1000. << " max=" << inference_us.max() / 1000. << " avg=" << inference_us.avg() / 1000. << " std_dev=" << inference_us.std_deviation() / 1000.