OnFlyImageDataset
This dataset keeps all data on disk and generates batches on the fly using provided dataLoader.
Parameters
x
sources to load data from
y
labels to use for the loaded data
dataLoader
data loader to load data with from the provided sources
Types
Functions
batchIterator
Link copied to clipboard
Returns BatchIterator with fixed batchSize.
shuffle
Link copied to clipboard
Shuffles the dataset.
split
Link copied to clipboard
open override fun split(splitRatio: Double): Pair<OnFlyImageDataset<D>, OnFlyImageDataset<D>>
Content copied to clipboard
Splits datasets on two sub-datasets according splitRatio.