.. _f-oponehot: module ``onnxrt.ops_cpu.op_one_hot`` ==================================== .. inheritance-diagram:: mlprodict.onnxrt.ops_cpu.op_one_hot Short summary +++++++++++++ module ``mlprodict.onnxrt.ops_cpu.op_one_hot`` Runtime operator. :githublink:`%|py|7` Classes +++++++ +--------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +==============================================================+=============================================================================================================================+ | :class:`OneHot ` | OneHot ====== Produces a one-hot tensor based on inputs. The locations represented by the index values in the 'indices' ... | +--------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+ Functions +++++++++ +-----------------------------------------------------------------+-------------------------+ | function | truncated documentation | +=================================================================+=========================+ | :func:`_one_hot ` | | +-----------------------------------------------------------------+-------------------------+ 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_modified ` | Returns the list of modified parameters. | +--------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_mandatory ` | Returns the list of optional arguments. | +--------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_optional ` | Returns the list of optional arguments. | +--------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`atts_value ` | Returns all parameters in a dictionary. | +--------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +---------------------------------------------------------------------------+-------------------------+ | method | truncated documentation | +===========================================================================+=========================+ | :py:meth:`__init__ ` | | +---------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +---------------------------------------------------------------------------+-------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.ops_cpu.op_one_hot :members: :special-members: __init__ :show-inheritance: