.. _f-oprandom: module ``onnxrt.ops_cpu.op_random`` =================================== .. inheritance-diagram:: mlprodict.onnxrt.ops_cpu.op_random Short summary +++++++++++++ module ``mlprodict.onnxrt.ops_cpu.op_random`` Runtime operator. :githublink:`%|py|7` Classes +++++++ +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +===================================================================================+=================================================================================================================================+ | :class:`_CommonRandom ` | Common methods to all random operators. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`Bernoulli ` | Bernoulli ========= Draws binary random numbers (0 or 1) from a Bernoulli distribution. The input tensor should be a tensor ... | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`RandomNormal ` | RandomNormal ============ Generate a tensor with random values drawn from a normal distribution. The shape of the tensor ... | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`RandomNormalLike ` | RandomNormalLike ================ Generate a tensor with random values drawn from a normal distribution. The shape of ... | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`RandomUniform ` | RandomUniform ============= Generate a tensor with random values drawn from a uniform distribution. The shape of the tensor ... | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`RandomUniformLike ` | RandomUniformLike ================= Generate a tensor with random values drawn from a uniform distribution. The shape ... | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ 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 ` | 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 ` | 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_default_modified ` | Returns the list of modified parameters. | +------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_default_modified ` | Returns the list of modified parameters. | +------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :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_mandatory ` | Returns the list of optional arguments. | +------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_mandatory ` | Returns the list of optional arguments. | +------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :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:`args_optional ` | 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:`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. | +------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`atts_value ` | Returns all parameters in a dictionary. | +------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`atts_value ` | Returns all parameters in a dictionary. | +------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :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:`__init__ ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`__init__ ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`__init__ ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`__init__ ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_dtype ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_dtype ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_dtype ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_dtype ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_dtype ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_dtype ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_get_state ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_get_state ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_get_state ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_get_state ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_get_state ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_get_state ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :py:meth:`_run ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :meth:`to_python ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :meth:`to_python ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :meth:`to_python ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :meth:`to_python ` | | +-----------------------------------------------------------------------------------------+-------------------------+ | :meth:`to_python ` | | +-----------------------------------------------------------------------------------------+-------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.ops_cpu.op_random :members: :special-members: __init__ :show-inheritance: