Source for CosineEmbeddingLoss

Hello,

I have tried to search the net for a paper using the same loss implemented by
nn.CosineEmbeddingLoss. Unfortunately, I haven’t been able to find anything.
Does anyone know of such papers?