Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

BertNLClassifier.BertNLClassifierOptions.Builder

public static abstract class BertNLClassifier.BertNLClassifierOptions.Builder

Public Constructors

Public Methods

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

Inherited Methods

Public Constructors

public Builder ()

Public Methods

public abstract BertNLClassifier.BertNLClassifierOptions build ()

public abstract BertNLClassifier.BertNLClassifierOptions.Builder setBaseOptions (BaseOptions baseOptions)

Sets the general options to configure Task APIs, such as accelerators.

Parameters
baseOptions

public 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

Set the maximum sequence length.

Parameters
value