.. _f-opoptional: module ``onnxrt.ops_cpu.op_optional`` ===================================== .. inheritance-diagram:: mlprodict.onnxrt.ops_cpu.op_optional Short summary +++++++++++++ module ``mlprodict.onnxrt.ops_cpu.op_optional`` Runtime operator. :githublink:`%|py|7` Classes +++++++ +---------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +=======================================================================================+==============================================================================================================================+ | :class:`OptionalGetElement ` | OptionalGetElement ================== If the input is a tensor or sequence type, it returns the input. If the input is ... | +---------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :class:`OptionalHasElement ` | OptionalHasElement ================== Returns true if (1) the input is an optional-type and contains an element, or, (2) ... | +---------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +===============================================================================================================+=======================================================================================================================+ | :meth:`args_default ` | Returns the list of arguments as well as the list of parameters with the default values (close to the signature). ... | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_default ` | Returns the list of arguments as well as the list of parameters with the default values (close to the signature). ... | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_default_modified ` | Returns the list of modified parameters. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_default_modified ` | Returns the list of modified parameters. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_mandatory ` | Returns the list of optional arguments. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_mandatory ` | Returns the list of optional arguments. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_optional ` | Returns the list of optional arguments. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_optional ` | Returns the list of optional arguments. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`atts_value ` | Returns all parameters in a dictionary. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`atts_value ` | Returns all parameters in a dictionary. | +---------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +----------------------------------------------------------------------------------------+-------------------------+ | method | truncated documentation | +========================================================================================+=========================+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +----------------------------------------------------------------------------------------+-------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.ops_cpu.op_optional :members: :special-members: __init__ :show-inheritance: