RSVP for your your local TensorFlow Everywhere event today!

tf.keras.losses.cosine

View source on GitHub

Computes the cosine similarity between labels and predictions.