.. _f-onnxmicroruntime: module ``onnxrt.onnx_micro_runtime`` ==================================== .. inheritance-diagram:: mlprodict.onnxrt.onnx_micro_runtime Short summary +++++++++++++ module ``mlprodict.onnxrt.onnx_micro_runtime`` Micro runtime for ONNX. Classes +++++++ +----------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | class | truncated documentation | +==================================================================================+============================================================================================+ | :class:`OnnxMicroRuntime ` | Implements a micro runtime for ONNX graphs. It does not implements all the operator types. | +----------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ Properties ++++++++++ +------------------------------------------------------------------------------------------+-------------------------+ | property | truncated documentation | +==========================================================================================+=========================+ | :meth:`input_names ` | Returns input names. | +------------------------------------------------------------------------------------------+-------------------------+ | :meth:`output_names ` | Returns output names. | +------------------------------------------------------------------------------------------+-------------------------+ Methods +++++++ +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | method | truncated documentation | +=================================================================================================+=============================================+ | :py:meth:`__init__ ` | | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_abs ` | Runtime for operator :epkg:`Op:Abs`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_add ` | Runtime for operator :epkg:`Op:Add`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_concat ` | Runtime for operator :epkg:`Op:Concat`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_gather ` | Runtime for operator :epkg:`Op:Gather`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_gemm ` | Runtime for operator :epkg:`Op:Gemm`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_identity ` | Runtime for operator :epkg:`Op:Identity`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_matmul ` | Runtime for operator :epkg:`Op:MatMul`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_max ` | Runtime for operator :epkg:`Op:Max`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_mul ` | Runtime for operator :epkg:`Op:Mul`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_reduceprod ` | Runtime for operator :epkg:`Op:ReduceProd`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_reducesum ` | Runtime for operator :epkg:`Op:ReduceSum`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_reshape ` | Runtime for operator :epkg:`Op:Reshape`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_shape ` | Runtime for operator :epkg:`Op:Shape`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_squeeze ` | Runtime for operator :epkg:`Op:Squeeze`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_transpose ` | Runtime for operator :epkg:`Op:Transpose`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :py:meth:`_op_unsqueeze ` | Runtime for operator :epkg:`Op:Unsqueeze`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ | :meth:`run ` | Computes the outputs of the graph. | +-------------------------------------------------------------------------------------------------+---------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.onnx_micro_runtime :members: :special-members: __init__ :show-inheritance: