(self)
| 289 | self.dwconv = DWConv2d(ffn_dim, 3, 1, 1) if subconv else None |
| 290 | |
| 291 | def reset_parameters(self): |
| 292 | self.fc1.reset_parameters() |
| 293 | self.fc2.reset_parameters() |
| 294 | if self.ffn_layernorm is not None: |
| 295 | self.ffn_layernorm.reset_parameters() |
| 296 | |
| 297 | def forward(self, x: torch.Tensor): |
| 298 | ''' |
nothing calls this directly
no test coverage detected