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

Commit

Permalink
all/any_fix (#17314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommliu authored and haojin2 committed Jan 15, 2020
1 parent 05a0e5b commit e58623c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/mxnet/numpy/multiarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,10 +986,10 @@ def T(self):
# pylint: enable= invalid-name, undefined-variable

def all(self, axis=None, out=None, keepdims=False):
raise NotImplementedError
return _mx_nd_np.all(self, axis=axis, keepdims=keepdims, out=out)

def any(self, axis=None, out=None, keepdims=False):
raise NotImplementedError
return _mx_nd_np.any(self, axis=axis, keepdims=keepdims, out=out)

def as_nd_ndarray(self):
"""Convert mxnet.numpy.ndarray to mxnet.ndarray.NDArray to use its fluent methods."""
Expand Down

0 comments on commit e58623c

Please sign in to comment.