tf.keras.backend.argmax

View source

Returns the index of the maximum value along an axis.

Aliases:

  • tf.compat.v1.keras.backend.argmax
  • tf.compat.v2.keras.backend.argmax
tf.keras.backend.argmax(
    x,
    axis=-1
)

Arguments:

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

Returns:

A tensor.

results matching ""

    No results matching ""