(
self,
epoch: int,
bidx: int,
batch: T.Any,
)
| 1320 | return all_loss_dict |
| 1321 | |
| 1322 | def test_step( |
| 1323 | self, |
| 1324 | epoch: int, |
| 1325 | bidx: int, |
| 1326 | batch: T.Any, |
| 1327 | ): |
| 1328 | self.reset_losses() |
| 1329 | self.reset_outputs() |
| 1330 | |
| 1331 | with torch.no_grad(): |
| 1332 | all_loss_dict = self._step( |
| 1333 | epoch=epoch, |
| 1334 | bidx=bidx, |
| 1335 | batch=batch, |
| 1336 | update=False, |
| 1337 | ) |
| 1338 | return all_loss_dict |
| 1339 | |
| 1340 | def visualize_train_step( |
| 1341 | self, |
nothing calls this directly
no test coverage detected