(self, x)
| 272 | self.register_buffer("pe", pe) |
| 273 | |
| 274 | def forward(self, x): |
| 275 | x = x + self.pe[:, : x.size(1)] |
| 276 | return self.dropout(x) |
| 277 | |
| 278 | |
| 279 | class VersatileAttention(Attention): |
nothing calls this directly
no outgoing calls
no test coverage detected