forked from mindspore-Ecosystem/mindspore
!4444 Enlarge time threshold of resnet50 st in pynative
Merge pull request !4444 from JoyLvliang/enlarge-time-threshold-of-resnet50-st-in-pynative
This commit is contained in:
commit
73709f11fc
|
@ -428,7 +428,7 @@ def test_pynative_resnet50():
|
|||
end_time = time.time()
|
||||
cost_time = end_time - start_time
|
||||
print("======step: ", step, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time)
|
||||
if step > 1 and cost_time > 0.21:
|
||||
if step > 1 and cost_time > 0.23:
|
||||
exceed_num = exceed_num + 1
|
||||
assert exceed_num < 10
|
||||
|
Loading…
Reference in New Issue