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