PredictionLoop
- class pytorch_lightning.loops.dataloader.PredictionLoop[source]
Bases:
abc.ABC
,Generic
[pytorch_lightning.loops.base.T
]Loop to run over dataloaders for prediction.
- connect(epoch_loop)[source]
Connect the prediction epoch loop with this loop.
- on_run_end()[source]
Calls
on_predict_epoch_end
andon_predict_end
hooks and returns results from all dataloaders.