fix default value of axis of argmin
This commit is contained in:
parent
63a8b36505
commit
4a189cd1a9
|
@ -436,7 +436,7 @@ def exp2(x):
|
||||||
return exp2_(tensor_2, x)
|
return exp2_(tensor_2, x)
|
||||||
|
|
||||||
|
|
||||||
def argmin(x, axis=-1, keepdims=False):
|
def argmin(x, axis=None, keepdims=False):
|
||||||
"""
|
"""
|
||||||
Returns the indices of the minimum value of a tensor across the axis.
|
Returns the indices of the minimum value of a tensor across the axis.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue