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 a
PikachuDetection
.-
Field Summary
Fields inherited from class ai.djl.training.dataset.RandomAccessDataset.BaseBuilder
dataBatchifier, device, labelBatchifier, limit, pipeline, prefetchNumber, sampler, targetPipeline
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds thePikachuDetection
.optArtifactId
(String artifactId) Sets the optional artifactId.optGroupId
(String groupId) Sets optional groupId.optRepository
(ai.djl.repository.Repository repository) Sets the optional repository.optUsage
(ai.djl.training.dataset.Dataset.Usage usage) Sets the optional usage.self()
Methods inherited from class ai.djl.basicdataset.cv.ImageDataset.BaseBuilder
optFlag
Methods inherited from class ai.djl.training.dataset.RandomAccessDataset.BaseBuilder
addTargetTransform, addTransform, getSampler, optDataBatchifier, optDevice, optLabelBatchifier, optLimit, optPipeline, optPrefetchNumber, optTargetPipeline, setSampling, setSampling, setSampling
-
Method Details
-
self
- Specified by:
self
in classai.djl.training.dataset.RandomAccessDataset.BaseBuilder<PikachuDetection.Builder>
-
optUsage
Sets the optional usage.- Parameters:
usage
- the usage- Returns:
- this builder
-
optRepository
Sets the optional repository.- Parameters:
repository
- the repository- Returns:
- this builder
-
optGroupId
Sets optional groupId.- Parameters:
groupId
- the groupId}- Returns:
- this builder
-
optArtifactId
Sets the optional artifactId.- Parameters:
artifactId
- the artifactId- Returns:
- this builder
-
build
Builds thePikachuDetection
.- Returns:
- the
PikachuDetection
-