diff --git a/mindspore/lite/tools/benchmark/benchmark.cc b/mindspore/lite/tools/benchmark/benchmark.cc index b648a70980..b2fc22e814 100644 --- a/mindspore/lite/tools/benchmark/benchmark.cc +++ b/mindspore/lite/tools/benchmark/benchmark.cc @@ -201,7 +201,6 @@ float Benchmark::CompareData(const std::string &nodeName, std::vector msSha } std::cout << std::endl; if (meanError > 0.0f) { - errorCount = 0; meanError /= errorCount; }