Skip to content

Commit

Permalink
Update test_mul.py
Browse files Browse the repository at this point in the history
complex test
  • Loading branch information
L-Xiafeng authored Jun 29, 2023
1 parent 93e2000 commit f551bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/oneflow/test/modules/test_mul.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_broadcast_mul(test_case):
x.mul_(y)
return x

@autotest(n=6)
@autotest(n=6, include_complex=True)
def test_non_contiguous_inplace_mul(test_case):
device = random_device()
x = random_tensor(2, 2, 4).to(device)
Expand All @@ -218,7 +218,7 @@ def test_non_contiguous_inplace_mul(test_case):
y *= random_tensor(2, 2, 2).to(device)
return y

@autotest(n=10)
@autotest(n=10, include_complex=True)
def test_scalar_mul_with_random_devices(test_case):
x1_device = random_device()
x2_device = random_device()
Expand Down

0 comments on commit f551bfe

Please sign in to comment.