MNISTDataset
@Serializable
MNIST dataset implementation using Dataset/DataBatch API.
Provides batching as tensors FP32 with shapes: x: batch, 1, 28, 28 (normalized 0..1) y: batch (labels as floats)
Constructors
Link copied to clipboard
constructor(images: List<MNISTImage>, executionContext: ExecutionContext = DefaultDataExecutionContext())
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun split(splitRatio: Double): Pair<Dataset<MNISTImage, Float>, Dataset<MNISTImage, Float>>
Link copied to clipboard
Returns a subset of the dataset.