Commit 6513629c authored by Pavithra Vijay's avatar Pavithra Vijay Committed by TensorFlower Gardener
Browse files

Updating cosine similarity loss.

- Changed CosineProximity to CosineSimilarity in v2
- Added `tf.keras.losses.cosine_similarity` to the namespaces. Keeping the existing v1 namespaces.
- Removed the negate sign from cosine similarity.

PiperOrigin-RevId: 234885212
parent 8e039915
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment