(self, m)
| 52 | self.fc.apply(self.init_weights) |
| 53 | |
| 54 | def init_weights(self, m): |
| 55 | if isinstance(m, nn.Linear): |
| 56 | torch.nn.init.xavier_uniform_(m.weight) |
| 57 | m.bias.data.fill_(0.01) |
| 58 | |
| 59 | def forward_once(self, x): |
| 60 | output = self.resnet(x) |
nothing calls this directly
no outgoing calls
no test coverage detected