TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.keras.backend.argmin

TensorFlow 1 version View source on GitHub

Returns the index of the minimum value along an axis.

Aliases:

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

Arguments:

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

Returns:

A tensor.