forked from OSSInnovation/mindspore
fix benchmark inf error
This commit is contained in:
parent
1b69923472
commit
5eed256f1a
|
@ -201,7 +201,6 @@ float Benchmark::CompareData(const std::string &nodeName, std::vector<int> msSha
|
|||
}
|
||||
std::cout << std::endl;
|
||||
if (meanError > 0.0f) {
|
||||
errorCount = 0;
|
||||
meanError /= errorCount;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue