Public Member Functions | |
def | __init__ (self, datasets) |
def | __len__ (self) |
def | __getitem__ (self, idx) |
def | cummulative_sizes (self) |
Public Member Functions inherited from torch.utils.data.dataset.Dataset | |
def | __getitem__ (self, index) |
def | __len__ (self) |
def | __add__ (self, other) |
Static Public Member Functions | |
def | cumsum (sequence) |
Public Attributes | |
datasets | |
cumulative_sizes | |
Dataset to concatenate multiple datasets. Purpose: useful to assemble different existing datasets, possibly large-scale datasets as the concatenation operation is done in an on-the-fly manner. Arguments: datasets (sequence): List of datasets to be concatenated
Definition at line 46 of file dataset.py.