Cosine Similarity Module Interface torchmetrics.CosineSimilarity Functional Interface torchmetrics.functional.cosine_similarity