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

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommliu committed Dec 9, 2019
1 parent 109b13c commit f23729f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/mxnet/_numpy_op_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1209,4 +1209,4 @@ def _np_diagflat(array, k=0):
[0, 0, 2],
[0, 0, 0]])
"""
pass
pass

0 comments on commit f23729f

Please sign in to comment.