Builder for BertNLClassifier.BertNLClassifierOptions
.
Builder()
|
abstract BertNLClassifier.BertNLClassifierOptions |
build()
|
abstract BertNLClassifier.BertNLClassifierOptions.Builder |
setBaseOptions(BaseOptions baseOptions)
Sets the general options to configure Task APIs, such as accelerators.
|
abstract BertNLClassifier.BertNLClassifierOptions.Builder |
setMaxSeqLen(int value)
This method is deprecated. maximum sequence length is now read from the model (i.e. input tensor size)
automatically
|
Sets the general options to configure Task APIs, such as accelerators.
baseOptions |
---|
This method is deprecated.
maximum sequence length is now read from the model (i.e. input tensor size)
automatically
Set the maximum sequence length.
value |
---|