(self, x)
| 133 | self.model = model |
| 134 | |
| 135 | def forward(self, x): |
| 136 | x = nn.functional.interpolate(x, size=(299, 299), mode='bilinear', align_corners=False) |
| 137 | return self.model(x) |
| 138 | |
| 139 | def get_activations(path, model, batch_size, dims, device, num_workers): |
| 140 | model.eval() |
nothing calls this directly
no outgoing calls
no test coverage detected