Skip to content

Commit

Permalink
undo modify of global bitwise op test
Browse files Browse the repository at this point in the history
  • Loading branch information
marigoold committed Aug 10, 2023
1 parent 88fbbc8 commit 6f93193
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions python/oneflow/test/modules/test_global_bitwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@

@autotest(n=1, auto_backward=False)
def _test_bitwise_ops_with_random_data(test_case, op, placement, sbp):
x = random_tensor(ndim=1, dim0=8, dtype=int, low=-10, high=10).to_global(
placement, sbp
)
y = random_tensor(ndim=1, dim0=8, dtype=int, low=-10, high=10).to_global(
placement, sbp
)
x = random_tensor(ndim=1, dim0=8, dtype=int).to_global(placement, sbp)
y = random_tensor(ndim=1, dim0=8, dtype=int).to_global(placement, sbp)
out = op(x, y)
return out

Expand Down

0 comments on commit 6f93193

Please sign in to comment.