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 |
optArtifactId(java.lang.String artifactId)
Sets the optional artifactId.
|
FashionMnist.Builder |
optGroupId(java.lang.String groupId)
Sets optional groupId.
|
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 optGroupId(java.lang.String groupId)
groupId - the groupId}public FashionMnist.Builder optArtifactId(java.lang.String artifactId)
artifactId - the artifactIdpublic FashionMnist.Builder optUsage(ai.djl.training.dataset.Dataset.Usage usage)
usage - the usagepublic FashionMnist build()
Mnist.Mnist