tf.keras.metrics.squared_hinge

Aliases:

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

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