Files
zeekayandHanzo Dev f84fe1fd15 snapshot slice 1
Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 15:29:05 -07:00

929 B

onnx.numpy_helper

.. currentmodule:: onnx.numpy_helper
.. autosummary::

    from_array
    from_dict
    from_list
    from_optional
    to_array
    to_dict
    to_list
    to_optional

(l-numpy-helper-onnx-array)=

array

.. autofunction:: onnx.numpy_helper.from_array
.. autofunction:: onnx.numpy_helper.to_array

Arrays with data types not supported natively by NumPy will be return with ml_dtypes dtypes.

sequence

.. autofunction:: onnx.numpy_helper.to_list
.. autofunction:: onnx.numpy_helper.from_list

dictionary

.. autofunction:: onnx.numpy_helper.to_dict
.. autofunction:: onnx.numpy_helper.from_dict

optional

.. autofunction:: onnx.numpy_helper.to_optional
.. autofunction:: onnx.numpy_helper.from_optional