.. _f-xopconvert: module ``npy.xop_convert`` ========================== .. inheritance-diagram:: mlprodict.npy.xop_convert Short summary +++++++++++++ module ``mlprodict.npy.xop_convert`` Easier API to build onnx graphs. Inspired from :epkg:`skl2onnx`. Classes +++++++ +------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +========================================================================+========================================================================================================================+ | :class:`OnnxSubEstimator ` | This operator is used to call the converter of a model to insert the node coming from the conversion into a bigger ... | +------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :class:`OnnxSubOnnx ` | This operator is used to insert existing ONNX into the ONNX graph being built. | +------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +--------------------------------------------------------------------------------+-------------------------------+ | property | truncated documentation | +================================================================================+===============================+ | :meth:`input_names ` | Returns the input names. | +--------------------------------------------------------------------------------+-------------------------------+ | :meth:`input_names ` | Returns the input names. | +--------------------------------------------------------------------------------+-------------------------------+ | :meth:`output_names ` | Returns `self.output_names_`. | +--------------------------------------------------------------------------------+-------------------------------+ | :meth:`output_names ` | Returns `self.output_names_`. | +--------------------------------------------------------------------------------+-------------------------------+ Static Methods ++++++++++++++ +-------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------+ | staticmethod | truncated documentation | +===========================================================================================+==============================================================================================================+ | :py:meth:`_to_onnx ` | Converts a model into ONNX and inserts it into an ONNX graph. | +-------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------+ | :py:meth:`_to_onnx_sklearn ` | Converts a :epkg:`scikit-learn` model into ONNX and inserts it into an ONNX graph. The library relies on ... | +-------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------+ Methods +++++++ +--------------------------------------------------------------------------------+-------------------------+ | method | truncated documentation | +================================================================================+=========================+ | :py:meth:`__init__ ` | | +--------------------------------------------------------------------------------+-------------------------+ | :py:meth:`__init__ ` | | +--------------------------------------------------------------------------------+-------------------------+ | :py:meth:`__repr__ ` | usual | +--------------------------------------------------------------------------------+-------------------------+ | :py:meth:`__repr__ ` | usual | +--------------------------------------------------------------------------------+-------------------------+ | :meth:`add_to ` | Adds to graph builder. | +--------------------------------------------------------------------------------+-------------------------+ | :meth:`add_to ` | Adds to graph builder. | +--------------------------------------------------------------------------------+-------------------------+ | :meth:`to_onnx_this ` | Returns the ONNX graph. | +--------------------------------------------------------------------------------+-------------------------+ | :meth:`to_onnx_this ` | Returns the ONNX graph. | +--------------------------------------------------------------------------------+-------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.npy.xop_convert :members: :special-members: __init__ :show-inheritance: