DataLoaderLike

lightkit.data.DataLoaderLike

Generic type annotation for functions accepting any data loader as input. Consider using this annotation for the implementation of methods in an estimator derived from lightkit.BaseEstimator.

alias of Union[torch.utils.data.dataloader.DataLoader[lightkit.data.types.T], Sequence[torch.utils.data.dataloader.DataLoader[lightkit.data.types.T]]]