Save the date! Google I/O returns May 18-20 Register now

tf.keras.losses.cosine

View source on GitHub

Computes the cosine similarity between labels and predictions.