tf.keras.backend.argmin

TensorFlow 1 version View source on GitHub

Returns the index of the minimum value along an axis.

Aliases: tf.compat.v1.keras.backend.argmin, tf.compat.v2.keras.backend.argmin

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

Arguments:

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

Returns:

A tensor.