input1 – tensor of shape [a x E]
[a x E]
input2 – tensor of shape [b x E]
[b x E]
tensor of shape [a x b] containing the distances.
[a x b]
CosineDistanceMetric.forward()
dgs.models.metric.metric.CosineDistanceMetric
dgs.models.metric.metric.CosineSimilarityMetric