AutoMLImageLabelerLocalModel.Builder

public static class AutoMLImageLabelerLocalModel.Builder extends Object

Public Constructor Summary

Public Method Summary

AutoMLImageLabelerLocalModel
build()
Returns an instance of AutoMLImageLabelerLocalModel with provided info.
AutoMLImageLabelerLocalModel.Builder
setAbsoluteFilePath(String absoluteFilePath)
Sets the absolute file path of the local model file.
AutoMLImageLabelerLocalModel.Builder
setAssetFilePath(String assetFilePath)
Sets the asset subpath of the asset model file

Make sure your model asset file is not compressed by using aaptOptions.

Inherited Method Summary

Public Constructors

public AutoMLImageLabelerLocalModel.Builder ()

Creates a new builder to build AutoMLImageLabelerLocalModel.

Public Methods

public AutoMLImageLabelerLocalModel build ()

Returns an instance of AutoMLImageLabelerLocalModel with provided info.

public AutoMLImageLabelerLocalModel.Builder setAbsoluteFilePath (String absoluteFilePath)

Sets the absolute file path of the local model file.

public AutoMLImageLabelerLocalModel.Builder setAssetFilePath (String assetFilePath)

Sets the asset subpath of the asset model file

Make sure your model asset file is not compressed by using aaptOptions. For more details, refer to documentation.