Hi, 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?
ps. I closed an issue with the same question where I miss-typed your name. Sorry about that.
Hi, 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?
ps. I closed an issue with the same question where I miss-typed your name. Sorry about that.