subset

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

Returns a subset of the dataset.