outputLabelTensorIndex property

int outputLabelTensorIndex

Implementation

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

Set the index of the optional output label tensor among all output tensors, if the model has multiple outputs.

See the document above [outputLabelTensorName] for more information about what the output label tensor is.

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

[outputLabelTensorIndex] dafualts to -1, meaning to disable the output label tensor.

Implementation

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