forked from mindspore-Ecosystem/mindspore
!16031 fix round op typos
From: @xcnick Reviewed-by: @liangchenghui,@wuxuejian Signed-off-by: @liangchenghui
This commit is contained in:
commit
88e1bf54b1
|
@ -153,6 +153,9 @@ def test_rint():
|
|||
np.testing.assert_almost_equal(output.asnumpy(), expect_output)
|
||||
|
||||
|
||||
@pytest.mark.level0
|
||||
@pytest.mark.platform_x86_cpu
|
||||
@pytest.mark.env_onecard
|
||||
def test_round():
|
||||
net = RoundNet()
|
||||
|
||||
|
|
|
@ -49,12 +49,12 @@ def generate_testcases(nptype):
|
|||
@pytest.mark.level0
|
||||
@pytest.mark.platform_x86_gpu_training
|
||||
@pytest.mark.env_onecard
|
||||
def test_sign_float32():
|
||||
def test_round_float32():
|
||||
generate_testcases(np.float32)
|
||||
|
||||
|
||||
@pytest.mark.level0
|
||||
@pytest.mark.platform_x86_gpu_training
|
||||
@pytest.mark.env_onecard
|
||||
def test_sign_float16():
|
||||
def test_round_float16():
|
||||
generate_testcases(np.float16)
|
||||
|
|
Loading…
Reference in New Issue