create

Creates a new instance of MNISTLoaderWasmJs with the default configuration.

Return

A new instance of MNISTLoaderWasmJs.


Creates a new instance of MNISTLoaderWasmJs with a custom cache directory.

Return

A new instance of MNISTLoaderWasmJs.

Parameters

cacheDir

The directory to use for caching.


Creates a new instance of MNISTLoaderWasmJs with a custom configuration.

Return

A new instance of MNISTLoaderWasmJs.

Parameters

config

The configuration to use.