Skip to content
Snippets Groups Projects
Commit a2e73d41 authored by Léo Schneider's avatar Léo Schneider
Browse files

test cossim

parent a79359f9
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class PositionalEncoding(nn.Module): ...@@ -30,7 +30,7 @@ class PositionalEncoding(nn.Module):
def forward(self, x): def forward(self, x):
x = torch.permute(x, (1, 0, 2))
""" """
Arguments: Arguments:
x: Tensor, shape ``[seq_len, batch_size, embedding_dim]`` x: Tensor, shape ``[seq_len, batch_size, embedding_dim]``
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment