Module ai_dataloader::indexable
source · Expand description
Modules
- Defines the strategy to draw samples from the dataset.
Structs
- Data loader. Combines a dataset and a sampler, and provides an iterable over the given dataset.
- Basic dataset than can contains two
ndarrayof any dimension.
Traits
- A dataset is just something that has a length and is indexable. A
Vecofdatasetcollate output must also be collatable. - Return a sample from the dataset at a given index.
- Basic trait for anything that could have a length. Even if a lot of struct have a
len()method in the standard library, to my knowledge this function is not included into any standard trait.