Readonly
inputsReturn the array of input tensor info.
Readonly
outputsReturn the array of output tensor info.
Single Execute the inference for the input tensors and return activation values for specified output node names without batching.
string|string[]. List of output node names to retrieve activation from.
Activation values for the output nodes result tensors. The return type matches specified parameter outputs type. The output would be single Tensor if single output is specified, otherwise Tensor[] for multiple outputs.
Execute the inference for the input tensors.
Prediction configuration for specifying the batch size.
Inference result tensors. The output would be single Tensor if model has single output node, otherwise Tensor[] or NamedTensorMap[] will be returned for model with multiple outputs.
Generated using TypeDoc
Common interface for a machine learning model that can do inference.