tf.keras.losses.squared_hinge

Aliases:

  • tf.keras.losses.squared_hinge
  • tf.keras.metrics.squared_hinge
tf.keras.losses.squared_hinge(
    y_true,
    y_pred
)

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