Commit c4d9f57f authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Reintroduce in-place operation to attention module

parent 6c5cd945
......@@ -269,7 +269,7 @@ class Attention(nn.Module):
if biases is not None:
for b in biases:
a = a + b
a += b
a = self.softmax(a)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment