forked from mindspore-Ecosystem/mindspore
!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:
commit
2eefb94fee
|
@ -428,5 +428,5 @@ def test_pynative_resnet50():
|
||||||
cost_time = end_time - start_time
|
cost_time = end_time - start_time
|
||||||
print("======step: ", step, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time)
|
print("======step: ", step, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time)
|
||||||
if step > 1:
|
if step > 1:
|
||||||
assert cost_time < 0.3
|
assert cost_time < 0.31
|
||||||
|
|
Loading…
Reference in New Issue