(self, x)
| 47 | self.fc_layer = nn.Linear(self.feat_dim, self.n_classes) |
| 48 | |
| 49 | def forward(self, x): |
| 50 | feature = self.feature(x) |
| 51 | feature = feature.view(feature.size(0), -1) |
| 52 | feature = self.bn(feature) |
| 53 | res = self.fc_layer(feature) |
| 54 | |
| 55 | return [feature, res] |
| 56 | |
| 57 | def predict(self, x): |
| 58 | feature = self.feature(x) |
nothing calls this directly
no outgoing calls
no test coverage detected