morpheus.models.dfencoder.dataloader.DataframeDataset
- class DataframeDataset(*args, **kwargs)[source]
Bases:
torch.utils.data.Dataset
- Attributes
- batch_size
num_samples
- preprocess_fn
- shuffle_batch_indices
- shuffle_rows_in_batch
Returns the number of samples in the dataset.
Methods
__call__
(*args, **kwargs)Call self as a function. - property num_samples
Returns the number of samples in the dataset.