(self, cfg: Config, *, parent: Module)
| 1185 | super().__init__(cfg, parent=parent) |
| 1186 | cfg = self.config |
| 1187 | self._add_child("metric", cfg.metric.set(num_classes=cfg.num_classes)) |
| 1188 | |
| 1189 | def forward(self, input_batch: NestedTensor) -> Tensor: |
| 1190 | """Produces predictions for the given inputs. |
| 1191 | |
| 1192 | Args: |
| 1193 | input_batch: A dict with the following entries: |
nothing calls this directly
no test coverage detected