aesara.tensor.argmin

Contents

aesara.tensor.argmin#

aesara.tensor.argmin(x, axis=None, keepdims=False)[source]#

Returns indices of minimum elements obtained by iterating over given axis.

When axis is None (the default value), the argmin is performed over the flattened tensor.

Parameters:

keepdims (bool) – If this is set to True, the axes which are reduced are left in the result as dimensions with size one. With this option, the result will broadcast correctly against the original tensor.