Hi Yirong, thank you so much for sharing your code. I found torch.ger() is used to compute the cosine similarity between two vectors under the file 'layer.py'. However, this operation is used for obtaining the outer product. Should the inner product be used here?
Hi Yirong, thank you so much for sharing your code. I found torch.ger() is used to compute the cosine similarity between two vectors under the file 'layer.py'. However, this operation is used for obtaining the outer product. Should the inner product be used here?