From 59384ee648db63901c055c3bb25eaade236fabdf Mon Sep 17 00:00:00 2001 From: lijunlin <70465472+L-Xiafeng@users.noreply.github.com> Date: Mon, 26 Jun 2023 21:27:42 +0800 Subject: [PATCH] Update test_add.py format --- python/oneflow/test/modules/test_add.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/python/oneflow/test/modules/test_add.py b/python/oneflow/test/modules/test_add.py index 63f4e122141..3788f893489 100644 --- a/python/oneflow/test/modules/test_add.py +++ b/python/oneflow/test/modules/test_add.py @@ -190,7 +190,6 @@ def test_add(test_case): for arg in GenArgList(arg_dict): arg[0](test_case, *arg[1:]) - @autotest(n=10) def test_0_size_add(test_case): device = random_device() @@ -199,7 +198,6 @@ def test_0_size_add(test_case): out = x + y return out - @autotest(n=6, auto_backward=False) def test_0dim_inplace_add(test_case): device = random_device() @@ -208,7 +206,6 @@ def test_0dim_inplace_add(test_case): x += y.mean() return x - @autotest(n=10) def test_0dim_two_inplace_add(test_case): device = random_device() @@ -217,7 +214,6 @@ def test_0dim_two_inplace_add(test_case): x += y.mean() return x - @autotest(n=6) def test_add_with_alpha(test_case): device = random_device() @@ -264,7 +260,6 @@ def test_0dim_two_inplace_add(test_case): return x x += y.mean().to(torch.bool) - @autotest(n=6) def test_add_with_alpha_0dim(test_case): device = random_device() @@ -284,7 +279,6 @@ def profile_add(test_case): torch.add(torch.ones(100), 20) torch.add(torch.ones(100), torch.ones(100, 1), alpha=10) - @autotest(n=6) def test_non_contiguous_inplace_add(test_case): device = random_device() @@ -294,7 +288,6 @@ def test_non_contiguous_inplace_add(test_case): y += random_tensor(2, 2, 2).to(device) return y - @autotest(n=10) def test_scalar_add_with_random_devices(test_case): x1_device = random_device()