tf.keras.metrics.categorical_accuracy

tf.keras.metrics.categorical_accuracy(
    y_true,
    y_pred
)

Defined in tensorflow/python/keras/_impl/keras/metrics.py.