From f23729fdd8cc7df5cf500239a2000e068b72c1da Mon Sep 17 00:00:00 2001 From: Minghao Liu <40382964+Tommliu@users.noreply.github.com> Date: Mon, 9 Dec 2019 10:18:58 +0800 Subject: [PATCH] fix --- python/mxnet/_numpy_op_doc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mxnet/_numpy_op_doc.py b/python/mxnet/_numpy_op_doc.py index 39dd445b6009..3deb27019bf9 100644 --- a/python/mxnet/_numpy_op_doc.py +++ b/python/mxnet/_numpy_op_doc.py @@ -1124,7 +1124,7 @@ def _np_diag(array, k=0): pass -def diagonal(a, offset=0, axis1=0, axis2=1): +def _np_diagonal(a, offset=0, axis1=0, axis2=1): """ If a is 2-D, returns the diagonal of a with the given offset, i.e., the collection of elements of the form a[i, i+offset]. If a has more than two dimensions, then the axes specified by axis1 and @@ -1209,4 +1209,4 @@ def _np_diagflat(array, k=0): [0, 0, 2], [0, 0, 0]]) """ - pass \ No newline at end of file + pass