public static final class BananaDetection.Builder extends ImageDataset.BaseBuilder<BananaDetection.Builder>
BananaDetection.| Modifier and Type | Method and Description |
|---|---|
BananaDetection |
build()
Builds the
BananaDetection. |
BananaDetection.Builder |
optArtifactId(java.lang.String artifactId)
Sets the optional artifactId.
|
BananaDetection.Builder |
optGroupId(java.lang.String groupId)
Sets optional groupId.
|
BananaDetection.Builder |
optRepository(ai.djl.repository.Repository repository)
Sets the optional repository.
|
BananaDetection.Builder |
optUsage(ai.djl.training.dataset.Dataset.Usage usage)
Sets the optional usage.
|
BananaDetection.Builder |
self() |
optFlagpublic BananaDetection.Builder self()
self in class ai.djl.training.dataset.RandomAccessDataset.BaseBuilder<BananaDetection.Builder>public BananaDetection.Builder optUsage(ai.djl.training.dataset.Dataset.Usage usage)
usage - the usagepublic BananaDetection.Builder optRepository(ai.djl.repository.Repository repository)
repository - the repositorypublic BananaDetection.Builder optGroupId(java.lang.String groupId)
groupId - the groupId}public BananaDetection.Builder optArtifactId(java.lang.String artifactId)
artifactId - the artifactIdpublic BananaDetection build()
BananaDetection.BananaDetection