Registration is open for TensorFlow Dev Summit 2020 Learn more

tf.keras.metrics.sparse_categorical_accuracy

TensorFlow 1 version View source on GitHub
tf.keras.metrics.sparse_categorical_accuracy(
    y_true,
    y_pred
)