From: @jojobugfree
Reviewed-by: @jjfeing,@chujinjin
Signed-off-by: @chujinjin
This commit is contained in:
mindspore-ci-bot 2021-03-22 21:21:27 +08:00 committed by Gitee
commit f715188478
1 changed files with 1 additions and 1 deletions

View File

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