tf.keras.losses.categorical_hinge

View source on GitHub

Computes the categorical hinge loss between y_true and y_pred.

tf.keras.losses.categorical_hinge(
    y_true, y_pred
)

Args:

Returns:

A tensor.