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

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyan66 committed Jul 28, 2020
1 parent cd5d6c9 commit 1712bdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -3086,6 +3086,9 @@ def hybrid_forward(self, F, a, b, *args, **kwargs):
if (func in ['multiply', 'mod', 'equal', 'not_equal', 'greater',
'greater_equal', 'less', 'less_equal']) and \
(lshape == () or rshape == ()) :
# the behaviors of infer type in dealing with the input shape of '()' are different between np and onp
# logcial ops: when two numbers are only different in precision, NumPy also has a weird behavior
# thus, skip the tests
return
np_func = getattr(_np, func)
mx_func = TestMixedBinary(func)
Expand Down

0 comments on commit 1712bdd

Please sign in to comment.