!67927 remove useless case
Merge pull request !67927 from jiaxueyu/code_docs_r2.3.q1
This commit is contained in:
commit
dcf35b4b8f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue