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

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyan66 committed Jul 5, 2020
1 parent 6462887 commit cb73296
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -3062,7 +3062,7 @@ def hybrid_forward(self, F, a, b, *args, **kwargs):

@with_seed()
@use_np
@pytest.mark.skip(reason='https://github.com/apache/incubator-mxnet/issues/16848')
# @pytest.mark.skip(reason='https://github.com/apache/incubator-mxnet/issues/16848')
def test_np_mixed_precision_binary_funcs():
itypes = [np.bool, np.int8, np.int32, np.int64]
ftypes = [np.float16, np.float32, np.float64]
Expand All @@ -3075,6 +3075,10 @@ def __init__(self, func):
def hybrid_forward(self, F, a, b, *args, **kwargs):
return getattr(F.np, self._func)(a, b)

# if (func in ['multiply', 'mod', 'equal', 'not_equal', 'greater',
# 'greater_equal', 'less', 'less_equal']) and \
# (lshape == () or rshape == ()) :
# return
np_func = getattr(_np, func)
mx_func = TestMixedBinary(func)
np_test_x1 = _np.random.uniform(low, high, lshape).astype(ltype)
Expand Down

0 comments on commit cb73296

Please sign in to comment.