ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

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)

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)

Parameters
value