tf.keras.backend.argmin

tf.keras.backend.argmin(
    x,
    axis=-1
)

Defined in tensorflow/python/keras/backend.py.

Returns the index of the minimum value along an axis.

Arguments:

  • x: Tensor or variable.
  • axis: axis along which to perform the reduction.

Returns:

A tensor.