We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d7ac4 commit bed729fCopy full SHA for bed729f
test/benchmark/test_benchmark.py
@@ -255,8 +255,8 @@ def test_benchmark_without_yaml(self):
255
os.system("python fake2.py --input_model={} 2>&1 | tee benchmark.log".format(self.graph_path))
256
with open('benchmark.log', "r") as f:
257
for line in f:
258
- accuracy = re.search(r"Throughput: (\d+(\.\d+)?)", line)
259
- self.assertIsNotNone(accuracy)
+ throughput = re.search(r"Throughput: (\d+(\.\d+)?)", line)
+ self.assertIsNotNone(throughput)
260
os.system("rm *.log")
261
262
def test_benchmark_with_conf(self):
0 commit comments