TensorFlow 2.0 Beta is available Learn more

tf.keras.metrics.categorical_accuracy

TensorFlow 2.0 version View source on GitHub

Aliases:

  • tf.compat.v1.keras.metrics.categorical_accuracy
  • tf.compat.v2.keras.metrics.categorical_accuracy
  • tf.compat.v2.metrics.categorical_accuracy
tf.keras.metrics.categorical_accuracy(
    y_true,
    y_pred
)