Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.keras.losses.cosine

View source on GitHub

Computes the cosine similarity between labels and predictions.