Package-level declarations

Types

Link copied to clipboard
object MNIST

Common entry points for obtaining MNIST datasets across platforms.

Link copied to clipboard

Blocking (non-suspend) MNIST data loading for Java interop.

Link copied to clipboard

Constants for the MNIST dataset.

Link copied to clipboard
@Serializable
data class MNISTDataset(val images: List<MNISTImage>, executionContext: ExecutionContext = DefaultDataExecutionContext()) : Dataset<MNISTImage, Float>

MNIST dataset implementation using Dataset/DataBatch API.

Link copied to clipboard
@Serializable
data class MNISTImage(val image: ByteArray, val label: Byte)

Represents a single MNIST image with its label.

Link copied to clipboard
interface MNISTLoader

Interface for the MNIST loader.

Link copied to clipboard

Android implementation of the MNIST loader.

Link copied to clipboard
abstract class MNISTLoaderCommon(val config: MNISTLoaderConfig) : MNISTLoader

Abstract base class for MNIST loaders that implements common functionality.

Link copied to clipboard
data class MNISTLoaderConfig(val cacheDir: String = "mnist-data", val useCache: Boolean = true)

Configuration for the MNIST loader.

Link copied to clipboard
actual object MNISTLoaderFactory

Android implementation of the MNIST loader factory.

expect object MNISTLoaderFactory

Factory for creating MNIST loaders.

actual object MNISTLoaderFactory
actual object MNISTLoaderFactory

JS implementation of the MNIST loader factory.

actual object MNISTLoaderFactory

JVM implementation of the MNIST loader factory.

actual object MNISTLoaderFactory
actual object MNISTLoaderFactory
actual object MNISTLoaderFactory

WASM JS implementation of the MNIST loader factory.

Link copied to clipboard

iOS implementation of the MNIST loader.

Link copied to clipboard

JS (browser) implementation of the MNIST loader.

Link copied to clipboard

JVM implementation of the MNIST loader.

Link copied to clipboard

Linux implementation of the MNIST loader. Minimal placeholder to satisfy expect/actual.

Link copied to clipboard

macOS implementation of the MNIST loader. Minimal placeholder to satisfy expect/actual; avoids direct FS and HTTP until fully implemented.

Link copied to clipboard

WASM JS implementation of the MNIST loader.

Functions

Link copied to clipboard

Expect/actual factory function implemented per platform that returns the concrete MNISTLoader implementation (e.g., MNISTLoaderJvm, MNISTLoaderAndroid, ...).