.. _f-onnxnumpyannotation: module ``npy.onnx_numpy_annotation`` ==================================== .. inheritance-diagram:: mlprodict.npy.onnx_numpy_annotation Short summary +++++++++++++ module ``mlprodict.npy.onnx_numpy_annotation`` :epkg:`numpy` annotations. Classes +++++++ +--------------------------------------------------------------------------------------------------+---------------------------------------------+ | class | truncated documentation | +==================================================================================================+=============================================+ | :class:`_NDArrayAlias ` | Ancestor to custom signature. | +--------------------------------------------------------------------------------------------------+---------------------------------------------+ | :class:`NDArray ` | Used to annotation ONNX numpy functions. | +--------------------------------------------------------------------------------------------------+---------------------------------------------+ | :class:`NDArraySameType ` | Shortcut to simplify signature description. | +--------------------------------------------------------------------------------------------------+---------------------------------------------+ | :class:`NDArraySameTypeSameShape ` | Shortcut to simplify signature description. | +--------------------------------------------------------------------------------------------------+---------------------------------------------+ | :class:`NDArrayType ` | Shortcut to simplify signature description. | +--------------------------------------------------------------------------------------------------+---------------------------------------------+ | :class:`NDArrayTypeSameShape ` | Shortcut to simplify signature description. | +--------------------------------------------------------------------------------------------------+---------------------------------------------+ Functions +++++++++ +-------------------------------------------------------------------------------+-----------------------------------------------------------+ | function | truncated documentation | +===============================================================================+===========================================================+ | :func:`get_args_kwargs ` | Extracts arguments and optional parameters of a function. | +-------------------------------------------------------------------------------+-----------------------------------------------------------+ Static Methods ++++++++++++++ +-------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | staticmethod | truncated documentation | +=======================================================================================================+===============================================================================================================+ | :py:meth:`__class_getitem__ ` | Overwrites this method. | +-------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +-------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +-------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +-------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +-------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +-------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ Methods +++++++ +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | method | truncated documentation | +===============================================================================================================+=========================================================+ | :py:meth:`__init__ ` | | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__init__ ` | | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__init__ ` | | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__init__ ` | | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__init__ ` | constructor | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__repr__ ` | usual | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__repr__ ` | usual | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__repr__ ` | usual | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__repr__ ` | usual | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`__repr__ ` | usual | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`_get_output_types ` | Tries to infer output types. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`_get_output_types ` | Tries to infer output types. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`_get_output_types ` | Tries to infer output types. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`_get_output_types ` | Tries to infer output types. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :py:meth:`_get_output_types ` | Tries to infer output types. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`get_inputs_outputs ` | Returns the list of inputs, outputs. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`get_inputs_outputs ` | Returns the list of inputs, outputs. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`get_inputs_outputs ` | Returns the list of inputs, outputs. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`get_inputs_outputs ` | Returns the list of inputs, outputs. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`get_inputs_outputs ` | Returns the list of inputs, outputs. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`shape_calculator ` | Returns expected dimensions given the input dimensions. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`shape_calculator ` | Returns expected dimensions given the input dimensions. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`shape_calculator ` | Returns expected dimensions given the input dimensions. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`shape_calculator ` | Returns expected dimensions given the input dimensions. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`shape_calculator ` | Returns expected dimensions given the input dimensions. | +---------------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.npy.onnx_numpy_annotation :members: :special-members: __init__ :show-inheritance: