tf.keras.losses.cosine

Aliases:

  • tf.keras.losses.cosine
  • tf.keras.losses.cosine_proximity
  • tf.keras.metrics.cosine
  • tf.keras.metrics.cosine_proximity
tf.keras.losses.cosine(
    y_true,
    y_pred
)

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