.. _f-onnxinferenceexports: module ``onnxrt.onnx_inference_exports`` ======================================== .. inheritance-diagram:: mlprodict.onnxrt.onnx_inference_exports Short summary +++++++++++++ module ``mlprodict.onnxrt.onnx_inference_exports`` Extensions to class :class:`OnnxInference`. :githublink:`%|py|5` Classes +++++++ +--------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +============================================================================================+=========================================================================================================================+ | :class:`OnnxInferenceExport ` | Implements methods to export a instance of :class:`OnnxInference` into :epkg:`json`, :epkg:`dot`, *text*, *python*. ... | +--------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | method | truncated documentation | +=================================================================================================+===============================================================================================================+ | :py:meth:`__init__ ` | | +-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`to_dot ` | Produces a :epkg:`DOT` language string for the graph. | +-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`to_json ` | Converts an :epkg:`ONNX` model into :epkg:`JSON`. | +-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`to_onnx_code ` | Exports the ONNX graph into an :epkg:`onnx` code which replicates it. | +-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`to_python ` | Converts the ONNX runtime into independant python code. The function creates multiple files starting with ... | +-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`to_text ` | It calls function :func:`onnx2bigraph` to return the ONNX graph as text. | +-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.onnx_inference_exports :members: :special-members: __init__ :show-inheritance: