tf.keras.losses.categorical_hinge

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
tf.keras.losses.categorical_hinge(
    y_true,
    y_pred
)

Defined in python/keras/losses.py.