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

Commit

Permalink
back
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyan66 committed Jul 3, 2020
1 parent cd8d101 commit 1e7fbca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/numpy_dispatch_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _register_array_function():
'degrees',
'hypot',
'lcm',
'ldexp',
# 'ldexp',
'subtract',
'multiply',
'true_divide',
Expand Down
1 change: 1 addition & 0 deletions tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -2824,6 +2824,7 @@ def hybrid_forward(self, F, a, *args, **kwargs):

shapes = [i for i in [rand_shape_nd(ndim, dim=3), (1, 0, 2)]];
for shape in shapes:
print(func, dtype, shape)
rtol = 1e-2 if dtype == np.float16 else 1e-3
atol = 1e-4 if dtype == np.float16 else 1e-5
# get rid of warning: divide by zero
Expand Down

0 comments on commit 1e7fbca

Please sign in to comment.