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