inputTensorIndex property

int inputTensorIndex

Implementation

int get inputTensorIndex => base.ref.inputTensorIndex;
void inputTensorIndex=(int value)

Set the index of the input text tensor among all input tensors, if the model has multiple inputs. Only the input tensor specified will be used for inference; other input tensors will be ignored. Dafualt to 0.

See the section, Configure the input/output tensors for NLClassifier, for more details.

Implementation

set inputTensorIndex(int value) {
  base.ref.inputTensorIndex = value;
}