From 1e7fbca7e704f938ff629a5ec4b5d504fcbb3ca5 Mon Sep 17 00:00:00 2001 From: Yiyan66 Date: Tue, 30 Jun 2020 09:20:57 +0000 Subject: [PATCH] back --- python/mxnet/numpy_dispatch_protocol.py | 2 +- tests/python/unittest/test_numpy_op.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python/mxnet/numpy_dispatch_protocol.py b/python/mxnet/numpy_dispatch_protocol.py index 53022257d3ba..01f2b7257473 100644 --- a/python/mxnet/numpy_dispatch_protocol.py +++ b/python/mxnet/numpy_dispatch_protocol.py @@ -249,7 +249,7 @@ def _register_array_function(): 'degrees', 'hypot', 'lcm', - 'ldexp', + # 'ldexp', 'subtract', 'multiply', 'true_divide', diff --git a/tests/python/unittest/test_numpy_op.py b/tests/python/unittest/test_numpy_op.py index 439ba4dae487..5bf691575583 100644 --- a/tests/python/unittest/test_numpy_op.py +++ b/tests/python/unittest/test_numpy_op.py @@ -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