update testcase levels for index_fill and print

This commit is contained in:
hedongdong 2023-02-23 18:42:43 +08:00
parent a54196a518
commit b45df8238d
2 changed files with 8 additions and 8 deletions

View File

@ -32,7 +32,7 @@ class IndexFillNet(nn.Cell):
return out
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.env_onecard
@pytest.mark.platform_x86_cpu
@pytest.mark.platform_x86_gpu_training
@ -54,7 +54,7 @@ def test_dynamic_shape_index_fill():
[Tensor(x_np), dim, Tensor(index_np), value], False)
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.env_onecard
@pytest.mark.platform_x86_cpu
@pytest.mark.platform_x86_gpu_training

View File

@ -110,7 +110,7 @@ class PrintTypes(nn.Cell):
@security_off_wrap
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard
@pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE])
@ -129,7 +129,7 @@ def test_print_multiple_types(mode):
@security_off_wrap
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard
@pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE])
@ -146,7 +146,7 @@ def test_print_dtype(mode, dtype):
@security_off_wrap
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard
@pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE])
@ -161,7 +161,7 @@ def test_print_string(mode):
@security_off_wrap
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.env_onecard
@pytest.mark.platform_x86_gpu_training
@pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE])
@ -181,7 +181,7 @@ def test_print_dynamic_shape(mode):
@security_off_wrap
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.env_onecard
@pytest.mark.platform_x86_gpu_training
def test_print_op_tuple():
@ -203,7 +203,7 @@ def test_print_op_tuple():
@security_off_wrap
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.env_onecard
@pytest.mark.platform_x86_gpu_training
@pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE])