Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.keras.backend.argmax

TensorFlow 2 version View source on GitHub

Returns the index of the maximum value along an axis.

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

A tensor.