Skip to main content

dataloaders

Classes concerning data loading and dataloaders.

Classes

BitfountDataLoader

class BitfountDataLoader(    dataset: _BaseBitfountDataset,    batch_size: Optional[int] = None,    shuffle: bool = False,):

A backend-agnostic data loader.

Arguments

  • dataset: The dataset for the dataloader.
  • batch_size: The batch size for the dataloader. Defaults to None.

Subclasses

  • bitfount.backends.pytorch.data.dataloaders._BasePyTorchBitfountDataLoader
  • HuggingFaceIterableBitfountDataLoader
  • bitfount.data.huggingface.dataloaders._BaseHuggingFaceBitfountDataLoader