(self)
| 283 | self.dwconv = DWConv2d(ffn_dim, 3, 1, 1) if subconv else None |
| 284 | |
| 285 | def reset_parameters(self): |
| 286 | self.fc1.reset_parameters() |
| 287 | self.fc2.reset_parameters() |
| 288 | if self.ffn_layernorm is not None: |
| 289 | self.ffn_layernorm.reset_parameters() |
| 290 | |
| 291 | def forward(self, x: torch.Tensor): |
| 292 | ''' |
nothing calls this directly
no test coverage detected