tf.keras.metrics.cosine_proximity

Aliases:

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

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