(self, x)
| 29 | self.register_buffer('pe', pe) |
| 30 | |
| 31 | def forward(self, x): |
| 32 | # not used in the final model |
| 33 | x = x + self.pe[:x.shape[1], :].unsqueeze(0) |
| 34 | return self.dropout(x) |
| 35 | |
| 36 | |
| 37 | class MotionEncoder(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected