(self, m)
| 41 | self.apply(self._init_weights) |
| 42 | |
| 43 | def _init_weights(self, m): |
| 44 | if isinstance(m, nn.Linear): |
| 45 | trunc_normal_(m.weight, std=.02) |
| 46 | if isinstance(m, nn.Linear) and m.bias is not None: |
| 47 | nn.init.constant_(m.bias, 0) |
| 48 | |
| 49 | def forward(self, x): |
| 50 | probability = [] |
nothing calls this directly
no outgoing calls
no test coverage detected