tabensemb.model.AbstractNN.predict_dataloader#
method
- AbstractNN.predict_dataloader() DataLoader | Sequence[DataLoader]#
Implement one or multiple PyTorch DataLoaders for prediction.
It’s recommended that all data downloads and preparation happen in
prepare_data().predict()
Note
Lightning adds the correct sampler for distributed and arbitrary hardware There is no need to set it yourself.
- Returns:
A
torch.utils.data.DataLoaderor a sequence of them specifying prediction samples.
Note
In the case where you return multiple prediction dataloaders, the
predict_step()will have an argumentdataloader_idxwhich matches the order here.