subset

fun subset(fromIndex: Int, toIndex: Int): CIFAR10Dataset(source)

Returns a subset of the dataset.