提交 8cef3ad3 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!3861 [MS][LITE]fix benchmark inf error problem

Merge pull request !3861 from cjh9368/fix_benchmark_inf_bug
...@@ -201,7 +201,6 @@ float Benchmark::CompareData(const std::string &nodeName, std::vector<int> msSha ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册