forked from mindspore-Ecosystem/mindspore
!48393 删除tensor fill测试用例
Merge pull request !48393 from YingtongHu/master
This commit is contained in:
commit
21bd367f15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue