public static class ImageClassificationTranslator.Builder extends ImageTranslator.BaseBuilder<ImageClassificationTranslator.Builder>
ImageClassificationTranslator.flag, pipeline| Modifier and Type | Method and Description |
|---|---|
ImageClassificationTranslator |
build()
Builds the
ImageClassificationTranslator with the provided data. |
protected ImageClassificationTranslator.Builder |
self() |
ImageClassificationTranslator.Builder |
setSynsetArtifactName(java.lang.String synsetArtifactName)
Sets the name of the synset file listing the potential classes for an image.
|
optFlag, setPipelinepublic ImageClassificationTranslator.Builder setSynsetArtifactName(java.lang.String synsetArtifactName)
synsetArtifactName - a file listing the potential classes for an imageprotected ImageClassificationTranslator.Builder self()
self in class ImageTranslator.BaseBuilder<ImageClassificationTranslator.Builder>public ImageClassificationTranslator build()
ImageClassificationTranslator with the provided data.ImageClassificationTranslator