!67927 remove useless case

Merge pull request !67927 from jiaxueyu/code_docs_r2.3.q1
This commit is contained in:
i-robot 2024-04-03 02:16:04 +00:00 committed by Gitee
commit dcf35b4b8f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 14 deletions

View File

@ -96,20 +96,6 @@ def test_tensor_copy_slices_bprop():
assert np.allclose(grad_output[0].asnumpy(), np.array([2.0]))
@pytest.mark.level1
@pytest.mark.env_onecard
def test_tensor_copy_slices_ascend_graph():
context.set_context(mode=context.GRAPH_MODE, device_target="Ascend")
test_tensor_copy_slices()
@pytest.mark.level1
@pytest.mark.env_onecard
def test_tensor_copy_slices_ascend_pynative():
context.set_context(mode=context.PYNATIVE_MODE, device_target="Ascend")
test_tensor_copy_slices()
@pytest.mark.level1
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard