.. _f-opcast: module ``onnxrt.ops_cpu.op_cast`` ================================= .. inheritance-diagram:: mlprodict.onnxrt.ops_cpu.op_cast Short summary +++++++++++++ module ``mlprodict.onnxrt.ops_cpu.op_cast`` Runtime operator. :githublink:`%|py|7` Classes +++++++ +---------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +===============================================================+=================================================================================================================================+ | :class:`Cast ` | Cast ==== The operator casts the elements of a given input tensor to a data type specified by the 'to' argument and returns ... | +---------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`CastLike ` | CastLike ======== The operator casts the elements of a given input tensor (the first input) to the same data type as the ... | +---------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ 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 ` | | +----------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run_inplace ` | | +----------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run_inplace ` | | +----------------------------------------------------------------------------------+-------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.ops_cpu.op_cast :members: :special-members: __init__ :show-inheritance: