diff --git a/python/mxnet/numpy/linalg.py b/python/mxnet/numpy/linalg.py index d0c405db8ceb..9ee5156c3bb1 100644 --- a/python/mxnet/numpy/linalg.py +++ b/python/mxnet/numpy/linalg.py @@ -71,23 +71,16 @@ def norm(x, ord=None, axis=None, keepdims=False): >>> a = np.arange(9) - 4 >>> a array([-4., -3., -2., -1., 0., 1., 2., 3., 4.]) - >>> >>> b = a.reshape((3, 3)) >>> b array([[-4., -3., -2.], [-1., 0., 1.], [ 2., 3., 4.]]) - >>> - >>> - >>> - >>> - >>> >>> LA.norm(a) array(7.745967) >>> >>> LA.norm(b) array(7.745967) - >>> >>> LA.norm(b, 'fro') array(7.745967) """ diff --git a/python/mxnet/numpy/multiarray.py b/python/mxnet/numpy/multiarray.py index 8dd5c5a05c10..a8f423fc9007 100644 --- a/python/mxnet/numpy/multiarray.py +++ b/python/mxnet/numpy/multiarray.py @@ -2435,7 +2435,6 @@ def subtract(x1, x2, out=None, **kwargs): -------- >>> np.subtract(1.0, 4.0) -3.0 - >>> x1 = np.arange(9.0).reshape((3, 3)) >>> x2 = np.arange(3.0) >>> np.subtract(x1, x2)