:orphan: Examples gallery ================ These examples execute both custom-op directions using explicit library paths. They do not implement or register an execution provider. Build the native libraries first and set ``ONNX_LIGHT_ORT_PLUGIN_LIBRARY``, ``ONNX_LIGHT_ORT_HOST_LIBRARY`` and ``ONNX_LIGHT_ORT_INCOMING_CUSTOM_OP_LIBRARY`` to their absolute paths. Models are built and checked with ``onnx_light.onnx``, not the ``onnx`` package. See :doc:`../development` for the commands and the build-tree ``PYTHONPATH``. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_custom_ops_light_called_by_ort_thumb.png :alt: :doc:`/auto_examples/plot_custom_ops_light_called_by_ort` .. raw:: html
Custom ops: onnx-light called by ORT
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_custom_ops_ort_called_by_light_thumb.png :alt: :doc:`/auto_examples/plot_custom_ops_ort_called_by_light` .. raw:: html
Custom ops: ORT called by onnx-light
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_log_custom_ops_thumb.png :alt: :doc:`/auto_examples/plot_benchmark_log_custom_ops` .. raw:: html
Benchmark Log: built-in and custom operators
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/plot_custom_ops_light_called_by_ort /auto_examples/plot_custom_ops_ort_called_by_light /auto_examples/plot_benchmark_log_custom_ops .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_