.. _f-onnxruntimehelper: module ``utils.onnxruntime_helper`` =================================== Short summary +++++++++++++ module ``onnxcustom.utils.onnxruntime_helper`` Onnxruntime helper. :githublink:`%|py|5` Functions +++++++++ +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | function | truncated documentation | +=======================================================================================================+========================================================================================+ | :func:`device_to_providers ` | Returns the corresponding providers for a specific device. | +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :func:`get_ort_device ` | Converts device into :epkg:`C_OrtDevice`. | +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :func:`get_ort_device_from_session ` | Retrieves the device from an object :epkg:`InferenceSession`. | +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :func:`get_ort_device_type ` | Converts device into device type. | +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :func:`numpy_to_ort_value ` | Converts a numpy array to :epkg:`C_OrtValue`. | +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :func:`ort_device_to_string ` | Returns a string representing the device. Opposite of function :func:`get_ort_device`. | +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :func:`provider_to_device ` | Converts provider into a device. | +-------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: onnxcustom.utils.onnxruntime_helper :members: :special-members: __init__ :show-inheritance: