!10028 adjust st of resnet50 in ascend pynative to gpu pynative

From: @lianliguang
Reviewed-by: @kisnwang,@zhoufeng54
Signed-off-by: @zhoufeng54
pull/10028/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit bccce3ac21

@ -412,6 +412,6 @@ 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.15:
if step > 1 and cost_time > 0.18:
exceed_num = exceed_num + 1
assert exceed_num < 18
assert exceed_num < 20

Loading…
Cancel
Save