(self, data)
| 48 | |
| 49 | |
| 50 | def forward(self, data): |
| 51 | inputs = self.forward_preprocess(data) |
| 52 | models = {name: getattr(self.pipe, name) for name in self.pipe.in_iteration_models} # todo |
| 53 | loss = self.pipe.training_loss(**models, **inputs) |
| 54 | return loss |
| 55 | |
| 56 | |
| 57 | def switch_pipe_to_training_mode( |
nothing calls this directly
no test coverage detected