!32916 attempt to restore windows st failed, revert testcases that were taken down

Merge pull request !32916 from yanghaoran/master
This commit is contained in:
i-robot 2022-04-13 02:07:12 +00:00 committed by Gitee
commit b8fd052d39
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@ def test_train(device_type):
test_lenet()
@security_off_wrap
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_cpu
@pytest.mark.env_onecard
def test_train_with_CPU():

View File

@ -595,7 +595,7 @@ def onp_trace(arr):
return onp.trace(arr, offset=4, axis1=1, axis2=2)
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_x86_gpu_training

View File

@ -203,7 +203,7 @@ def onp_isnan(x):
return onp.isnan(x)
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_gpu_training
@pytest.mark.platform_x86_cpu
@pytest.mark.env_onecard

View File

@ -919,7 +919,7 @@ def onp_maximum(x1, x2):
return onp.maximum(x1, x2)
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_gpu_training
@pytest.mark.platform_x86_cpu
@pytest.mark.env_onecard
@ -957,7 +957,7 @@ def onp_clip(x):
return a, b, c, d, e, f
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_x86_gpu_training
@ -1806,7 +1806,7 @@ def onp_lcm(x, y):
return onp.lcm(x, y)
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_x86_gpu_training
@ -2034,7 +2034,7 @@ def test_multi_dot():
match_all_arrays(mnp.multi_dot(mnp_arrays[1:-1]), onp.linalg.multi_dot(arrays[1:-1]))
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_x86_gpu_training

View File

@ -104,7 +104,7 @@ def test_broadcast_dyn_init():
assert np.allclose(output.asnumpy(), expect)
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_cpu
@pytest.mark.env_onecard
def test_broadcast_dyn_invalid_init():