Package ai.djl.basicdataset.cv
Class PikachuDetection.Builder
- java.lang.Object
-
- ai.djl.training.dataset.RandomAccessDataset.BaseBuilder<T>
-
- ai.djl.basicdataset.cv.ImageDataset.BaseBuilder<PikachuDetection.Builder>
-
- ai.djl.basicdataset.cv.PikachuDetection.Builder
-
- Enclosing class:
- PikachuDetection
public static final class PikachuDetection.Builder extends ImageDataset.BaseBuilder<PikachuDetection.Builder>
A builder for aPikachuDetection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PikachuDetectionbuild()Builds thePikachuDetection.PikachuDetection.BuilderoptArtifactId(java.lang.String artifactId)Sets the optional artifactId.PikachuDetection.BuilderoptGroupId(java.lang.String groupId)Sets optional groupId.PikachuDetection.BuilderoptRepository(ai.djl.repository.Repository repository)Sets the optional repository.PikachuDetection.BuilderoptUsage(ai.djl.training.dataset.Dataset.Usage usage)Sets the optional usage.PikachuDetection.Builderself()-
Methods inherited from class ai.djl.basicdataset.cv.ImageDataset.BaseBuilder
optFlag
-
-
-
-
Method Detail
-
self
public PikachuDetection.Builder self()
- Specified by:
selfin classai.djl.training.dataset.RandomAccessDataset.BaseBuilder<PikachuDetection.Builder>
-
optUsage
public PikachuDetection.Builder optUsage(ai.djl.training.dataset.Dataset.Usage usage)
Sets the optional usage.- Parameters:
usage- the usage- Returns:
- this builder
-
optRepository
public PikachuDetection.Builder optRepository(ai.djl.repository.Repository repository)
Sets the optional repository.- Parameters:
repository- the repository- Returns:
- this builder
-
optGroupId
public PikachuDetection.Builder optGroupId(java.lang.String groupId)
Sets optional groupId.- Parameters:
groupId- the groupId}- Returns:
- this builder
-
optArtifactId
public PikachuDetection.Builder optArtifactId(java.lang.String artifactId)
Sets the optional artifactId.- Parameters:
artifactId- the artifactId- Returns:
- this builder
-
build
public PikachuDetection build()
Builds thePikachuDetection.- Returns:
- the
PikachuDetection
-
-