ONNX, Runtime, Backends#

mlprodict implements two runtimes. The first uses numpy and implements mathematical functions defined by ONNX. The second one leverages onnxruntime to compute the output of every node using onnxruntime but python stills handles the graph logic. A last one just wraps onnxruntime to compute predictions, it handles the graph and operators runtimes.

All results were obtained using out the following versions of modules below:

<<<

from mlprodict.onnxrt.validate.validate_helper import modules_list
from pyquickhelper.pandashelper import df2rst
from pandas import DataFrame
print(df2rst(DataFrame(modules_list())))

>>>

name

version

mlprodict

0.8.1762

numpy

1.21.5

onnx

1.11.0

onnxmltools

1.11.0

onnxruntime

1.11.0

pandas

1.4.2

scipy

1.8.0

skl2onnx

1.11.1

sklearn

1.0.2