Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
torch.utils.data.dataset.ConcatDataset Class Reference
Inheritance diagram for torch.utils.data.dataset.ConcatDataset:
torch.utils.data.dataset.Dataset

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: