subset

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

Returns a subset of the dataset.