.. _f-convert: module ``onnx_conv.convert`` ============================ .. inheritance-diagram:: mlprodict.onnx_conv.convert Short summary +++++++++++++ module ``mlprodict.onnx_conv.convert`` Overloads a conversion function. :githublink:`%|py|7` Classes +++++++ +--------------------------------------------------------------------+-------------------------+ | class | truncated documentation | +====================================================================+=========================+ | :class:`_ParamEncoder ` | | +--------------------------------------------------------------------+-------------------------+ Functions +++++++++ +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +=================================================================================================================+=============================================================================================================================+ | :func:`_fix_opset_skl2onnx ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`_guess_s2o_type ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`_guess_type_ ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`_merge_initial_types ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`_new_options ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`_replace_tensor_type ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`_to_onnx_function_column_transformer ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`_to_onnx_function_pipeline ` | | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`convert_scorer ` | Converts a scorer into :epkg:`ONNX` assuming there exists a converter associated to it. The function wraps the function ... | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`get_column_index ` | Returns a tuples (variable index, column index in that variable). The function has two different behaviours, one when ... | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`get_column_indices ` | Returns the requested graph inpudes based on their indices or names. See :func:`get_column_index`. | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`get_inputs_from_data ` | Produces input data for *onnx* runtime. | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`get_sklearn_json_params ` | Retrieves all the parameters of a :epkg:`scikit-learn` model. | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`guess_initial_types ` | Guesses initial types from an array or a dataframe. | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`guess_schema_from_data ` | Guesses initial types from a dataset. | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`guess_schema_from_model ` | Guesses initial types from a model. | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`to_onnx ` | Converts a model using on :epkg:`sklearn-onnx`. | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :func:`to_onnx_function ` | Converts a model using on :epkg:`sklearn-onnx`. The functions works as the same as function :func:`to_onnx` but ... | +-----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +---------------------------------------------------------------------+-------------------------+ | method | truncated documentation | +=====================================================================+=========================+ | :meth:`default ` | | +---------------------------------------------------------------------+-------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnx_conv.convert :members: :special-members: __init__ :show-inheritance: