Readonly inputGet input names of the loaded model.
Readonly outputGet output names of the loaded model.
Execute the model asynchronously with the given feeds and options.
A promise that resolves to a map, which uses output names as keys and OnnxValue as corresponding values.
Representation of the model input. See type description of InferenceSession.InputType for detail.
Optional options: RunOptionsOptional. A set of options that controls the behavior of model inference.
Execute the model asynchronously with the given feeds, fetches and options.
A promise that resolves to a map, which uses output names as keys and OnnxValue as corresponding values.
Representation of the model input. See type description of InferenceSession.InputType for detail.
Representation of the model output. See type description of InferenceSession.OutputType for
detail.
Optional options: RunOptionsOptional. A set of options that controls the behavior of model inference.
Generated using TypeDoc
Represent a runtime instance of an ONNX model.