tf.keras.metrics.sparse_categorical_accuracy

TensorFlow 2 version View source on GitHub