.. _f-ortwrapper: module ``tools.ort_wrapper`` ============================ .. inheritance-diagram:: mlprodict.tools.ort_wrapper Short summary +++++++++++++ module ``mlprodict.tools.ort_wrapper`` Wrapper around :epkg:`onnxruntime`. Classes +++++++ +--------------------------------------------------------------------------+------------------------------------------------------------+ | class | truncated documentation | +==========================================================================+============================================================+ | :class:`InferenceSession ` | Wrappers around InferenceSession from :epkg:`onnxruntime`. | +--------------------------------------------------------------------------+------------------------------------------------------------+ Functions +++++++++ +-------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +===============================================================================+====================================================================================================================================================+ | :func:`prepare_c_profiling ` | Prepares model and data to be profiled with tool `perftest `_ ... | +-------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +------------------------------------------------------------------------------------+--------------------------+ | method | truncated documentation | +====================================================================================+==========================+ | :py:meth:`__init__ ` | | +------------------------------------------------------------------------------------+--------------------------+ | :meth:`end_profiling ` | Ends profiling. | +------------------------------------------------------------------------------------+--------------------------+ | :meth:`get_inputs ` | Returns input types. | +------------------------------------------------------------------------------------+--------------------------+ | :meth:`get_outputs ` | Returns output types. | +------------------------------------------------------------------------------------+--------------------------+ | :meth:`run ` | Executes the ONNX graph. | +------------------------------------------------------------------------------------+--------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.tools.ort_wrapper :members: :special-members: __init__ :show-inheritance: