Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix the test error
Browse files Browse the repository at this point in the history
  • Loading branch information
haojin2 committed Nov 10, 2019
1 parent 8e28e69 commit ac03a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -1763,8 +1763,8 @@ def hybrid_forward(self, F, a, b, *args, **kwargs):

for lshape, rshape in shape_pairs:
for func in funcs:
x1 = np.random.uniform(size=lshape) > 0.5
x2 = np.random.uniform(size=rshape) > 0.5
x1 = np.array(_np.random.uniform(size=lshape) > 0.5)
x2 = np.array(_np.random.uniform(size=rshape) > 0.5)
check_boolean_binary_func(func, x1, x2)


Expand Down

0 comments on commit ac03a24

Please sign in to comment.