Hi,
I’m looking for a variant of CosineEmbeddingLoss in which instead of using the cosine distance I would like to use the squared Euclidean distance.
Is it available in Pytorch?
Thank you 
PS: I tried to implement a very first implementation, but it is not vectorized(hence not computational efficient)