public static final class FashionMnist.Builder extends ai.djl.training.dataset.RandomAccessDataset.BaseBuilder<FashionMnist.Builder>
FashionMnist.| Modifier and Type | Method and Description |
|---|---|
FashionMnist |
build()
Builds the
Mnist. |
FashionMnist.Builder |
optArtifact(ai.djl.repository.Artifact artifact)
Sets the optional artifact.
|
FashionMnist.Builder |
optManager(ai.djl.ndarray.NDManager manager)
Sets the optional manager for the dataset (default follows engine default).
|
FashionMnist.Builder |
optRepository(ai.djl.repository.Repository repository)
Sets the optional repository.
|
FashionMnist.Builder |
optUsage(ai.djl.training.dataset.Dataset.Usage usage)
Sets the optional usage.
|
protected FashionMnist.Builder |
self() |
protected FashionMnist.Builder self()
self in class ai.djl.training.dataset.RandomAccessDataset.BaseBuilder<FashionMnist.Builder>public FashionMnist.Builder optManager(ai.djl.ndarray.NDManager manager)
manager - the managerpublic FashionMnist.Builder optRepository(ai.djl.repository.Repository repository)
repository - the repositorypublic FashionMnist.Builder optArtifact(ai.djl.repository.Artifact artifact)
artifact - the artifactpublic FashionMnist.Builder optUsage(ai.djl.training.dataset.Dataset.Usage usage)
usage - the usagepublic FashionMnist build()
Mnist.Mnist