Browse Source

fix st bug

pull/13556/head
caifubi 4 years ago
parent
commit
30cb84cb88
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/st/pynative/test_pynative_resnet50_ascend.py

+ 1
- 1
tests/st/pynative/test_pynative_resnet50_ascend.py View File

@@ -56,7 +56,7 @@ class MyTimeMonitor(Callback):

def step_end(self, run_context):
step_msseconds = (time.time() - self.step_time) * 1000
if step_msseconds < 265:
if step_msseconds < 275:
self.total = self.total + 1
print(f"step time:{step_msseconds}", flush=True)



Loading…
Cancel
Save