!3312 Relax the threshold of pynative resnet50 performance st

Merge pull request !3312 from JoyLvliang/Relax-the-threshold-of-pynative-resnet50-performance-st
This commit is contained in:
mindspore-ci-bot 2020-07-22 14:51:51 +08:00 committed by Gitee
commit 2eefb94fee
1 changed files with 1 additions and 1 deletions

View File

@ -428,5 +428,5 @@ def test_pynative_resnet50():
cost_time = end_time - start_time
print("======step: ", step, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time)
if step > 1:
assert cost_time < 0.3
assert cost_time < 0.31