Microsoft Windows 10 · Arazzo Workflow
Microsoft Windows 10 Windows ML Load and Evaluate Model
Version 1.0.0
Load an ONNX model, create a hardware-accelerated evaluation session, and run an inference against bound inputs.
Provider
Workflows
load-and-evaluate-model
Load an ONNX model, create a session, and evaluate it against input bindings.
Loads an ONNX model from a file path, creates an evaluation session on the requested device, and evaluates the model with the supplied feature bindings.
1
loadModel
loadMLModel
Load the ONNX model from the supplied file path and capture the assigned model id and feature counts.
2
createSession
createMLSession
Create an evaluation session for the loaded model bound to the requested device kind.
3
evaluate
evaluateMLModel
Evaluate the model with the supplied input bindings and capture the output tensors and whether the evaluation succeeded.