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

Commit

Permalink
* Fix sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
hanke580 committed Mar 16, 2020
1 parent 68fbe1e commit e45ea2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions python/mxnet/ndarray/numpy/_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,7 @@ def fmod(x1, x2, out=None, **kwargs):
_np.fmod(x1, x2, out=out)
return _api_internal.fmod(x1, x2, out)


@set_module('mxnet.ndarray.numpy')
def delete(arr, obj, axis=None):
"""
Expand Down Expand Up @@ -4416,6 +4417,7 @@ def fmax(x1, x2, out=None, **kwargs):
_np.fmax(x1, x2, out=out)
return _api_internal.fmax(x1, x2, out)


@set_module('mxnet.ndarray.numpy')
@wrap_np_binary_func
def minimum(x1, x2, out=None, **kwargs):
Expand Down
12 changes: 6 additions & 6 deletions python/mxnet/symbol/numpy/_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -4148,7 +4148,12 @@ def minimum(x1, x2, out=None, **kwargs):


@set_module('mxnet.symbol.numpy')
<<<<<<< HEAD
@wrap_np_binary_func
def fmin(x1, x2, out=None, **kwargs):
return _ufunc_helper(x1, x2, _npi.fmin, _np.fmin, _npi.fmin_scalar, None, out)


@set_module('mxnet.symbol.numpy')
def all(a, axis=None, out=None, keepdims=False):
"""
Test whether all array elements along a given axis evaluate to True.
Expand Down Expand Up @@ -4207,11 +4212,6 @@ def any(a, axis=None, out=None, keepdims=False):
in which case a reference to out is returned.
"""
return _npi.any(a, axis=axis, keepdims=keepdims, out=out)
=======
@wrap_np_binary_func
def fmin(x1, x2, out=None, **kwargs):
return _ufunc_helper(x1, x2, _npi.fmin, _np.fmin, _npi.fmin_scalar, None, out)
>>>>>>> [Numpy] Add op fmax, fmin


@set_module('mxnet.symbol.numpy')
Expand Down

0 comments on commit e45ea2d

Please sign in to comment.