TensorFlow 2.0 Beta is available Learn more

tf.keras.losses.categorical_hinge

TensorFlow 2.0 version View source on GitHub

Aliases:

  • tf.compat.v1.keras.losses.categorical_hinge
  • tf.compat.v2.keras.losses.categorical_hinge
  • tf.compat.v2.losses.categorical_hinge
tf.keras.losses.categorical_hinge(
    y_true,
    y_pred
)