Skip to main content

Module combinators

Module combinators 

Source

Structs§

ConcatDataset
Concatenate two or more datasets end-to-end.
MapDataset
Wraps a dataset and applies a Transform lazily on each get().
SubsetDataset
A dataset that exposes only the samples at the given indices.
VecDataset
A simple in-memory dataset backed by a Vec<Sample>.

Functions§

train_test_split
Split a dataset into (train, val) or (train, val, test) subsets.