Browse Source

fix benchmark inf error

tags/v0.7.0-beta
cjh9368 5 years ago
parent
commit
5eed256f1a
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      mindspore/lite/tools/benchmark/benchmark.cc

+ 0
- 1
mindspore/lite/tools/benchmark/benchmark.cc View File

@@ -201,7 +201,6 @@ float Benchmark::CompareData(const std::string &nodeName, std::vector<int> msSha
} }
std::cout << std::endl; std::cout << std::endl;
if (meanError > 0.0f) { if (meanError > 0.0f) {
errorCount = 0;
meanError /= errorCount; meanError /= errorCount;
} }




Loading…
Cancel
Save