!48393 删除tensor fill测试用例

Merge pull request !48393 from YingtongHu/master
This commit is contained in:
i-robot 2023-02-06 10:56:58 +00:00 committed by Gitee
commit 21bd367f15
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 15 deletions

View File

@ -763,21 +763,6 @@ def test_vander():
match_all_arrays(mnp_vander, onp_vander, error=1e-4)
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_x86_gpu_training
@pytest.mark.platform_x86_cpu
@pytest.mark.env_onecard
def test_tensor_fill():
x = rand_int(2, 1, 4).astype(onp.float32)
mnp_x = to_tensor(x)
x.fill(6)
match_all_arrays(mnp_x.fill(6), x)
x.fill(None)
match_all_arrays(mnp_x.fill(None), x)
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training