(self)
| 268 | self.dwconv = DWConv2d(ffn_dim, 3, 1, 1) if subconv else None |
| 269 | |
| 270 | def reset_parameters(self): |
| 271 | self.fc1.reset_parameters() |
| 272 | self.fc2.reset_parameters() |
| 273 | if self.ffn_layernorm is not None: |
| 274 | self.ffn_layernorm.reset_parameters() |
| 275 | |
| 276 | def forward(self, x: torch.Tensor): |
| 277 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected