mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-14 18:12:05 +00:00
* Update python documentation * remove two unnecessary files Co-authored-by: xavier dupré <xavier.dupre@gmail.com>
176 lines
No EOL
10 KiB
HTML
176 lines
No EOL
10 KiB
HTML
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Gallery of examples — ONNX Runtime 1.6.0 documentation</title>
|
|
<link rel="stylesheet" href="../static/pygments.css" type="text/css" />
|
|
<link rel="stylesheet" href="../static/alabaster.css" type="text/css" />
|
|
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
|
|
<link rel="stylesheet" type="text/css" href="../static/gallery.css" />
|
|
<link rel="stylesheet" type="text/css" href="../static/gallery-binder.css" />
|
|
<link rel="stylesheet" type="text/css" href="../static/gallery-dataframe.css" />
|
|
<link rel="stylesheet" type="text/css" href="../static/gallery-rendered-html.css" />
|
|
<script id="documentation_options" data-url_root="../" src="../static/documentation_options.js"></script>
|
|
<script src="../static/jquery.js"></script>
|
|
<script src="../static/underscore.js"></script>
|
|
<script src="../static/doctools.js"></script>
|
|
<link rel="index" title="Index" href="../genindex.html" />
|
|
<link rel="search" title="Search" href="../search.html" />
|
|
<link rel="next" title="Draw a pipeline" href="plot_pipeline.html" />
|
|
<link rel="prev" title="API Summary" href="../api_summary.html" />
|
|
|
|
<link rel="stylesheet" href="../static/custom.css" type="text/css" />
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
|
|
|
</head><body>
|
|
|
|
|
|
<div class="document">
|
|
<div class="documentwrapper">
|
|
<div class="bodywrapper">
|
|
|
|
|
|
<div class="body" role="main">
|
|
|
|
<div class="section" id="gallery-of-examples">
|
|
<span id="sphx-glr-auto-examples"></span><h1>Gallery of examples<a class="headerlink" href="#gallery-of-examples" title="Permalink to this headline">¶</a></h1>
|
|
<div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="There is no other way to look into one model stored in ONNX format than looking into its node w..."><div class="figure align-default" id="id1">
|
|
<img alt="Draw a pipeline" src="../images/sphx_glr_plot_pipeline_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_pipeline.html#sphx-glr-auto-examples-plot-pipeline-py"><span class="std std-ref">Draw a pipeline</span></a></span><a class="headerlink" href="#id1" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="This example demonstrates how to load a model and compute the output for an input vector. It al..."><div class="figure align-default" id="id2">
|
|
<img alt="Load and predict with ONNX Runtime and a very simple model" src="../images/sphx_glr_plot_load_and_predict_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_load_and_predict.html#sphx-glr-auto-examples-plot-load-and-predict-py"><span class="std std-ref">Load and predict with ONNX Runtime and a very simple model</span></a></span><a class="headerlink" href="#id2" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="*ONNX Runtime* extends the `onnx backend API <https://github.com/onnx/onnx/blob/master/docs/Im..."><div class="figure align-default" id="id3">
|
|
<img alt="ONNX Runtime Backend for ONNX" src="../images/sphx_glr_plot_backend_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_backend.html#sphx-glr-auto-examples-plot-backend-py"><span class="std std-ref">ONNX Runtime Backend for ONNX</span></a></span><a class="headerlink" href="#id3" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="ONNX format contains metadata related to how the model was produced. It is useful when the mode..."><div class="figure align-default" id="id4">
|
|
<img alt="Metadata" src="../images/sphx_glr_plot_metadata_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_metadata.html#sphx-glr-auto-examples-plot-metadata-py"><span class="std std-ref">Metadata</span></a></span><a class="headerlink" href="#id4" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="*ONNX Runtime* can profile the execution of the model. This example shows how to interpret the ..."><div class="figure align-default" id="id5">
|
|
<img alt="Profile the execution of a simple model" src="../images/sphx_glr_plot_profiling_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_profiling.html#sphx-glr-auto-examples-plot-profiling-py"><span class="std std-ref">Profile the execution of a simple model</span></a></span><a class="headerlink" href="#id5" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="This example demonstrates an end to end scenario starting with the training of a scikit-learn p..."><div class="figure align-default" id="id6">
|
|
<img alt="Train, convert and predict with ONNX Runtime" src="../images/sphx_glr_plot_convert_pipeline_vectorizer_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_convert_pipeline_vectorizer.html#sphx-glr-auto-examples-plot-convert-pipeline-vectorizer-py"><span class="std std-ref">Train, convert and predict with ONNX Runtime</span></a></span><a class="headerlink" href="#id6" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="This example looks into several common situations in which *onnxruntime* does not return the mo..."><div class="figure align-default" id="id7">
|
|
<img alt="Common errors with onnxruntime" src="../images/sphx_glr_plot_common_errors_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_common_errors.html#sphx-glr-auto-examples-plot-common-errors-py"><span class="std std-ref">Common errors with onnxruntime</span></a></span><a class="headerlink" href="#id7" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-thumbcontainer" tooltip="This example demonstrates an end to end scenario starting with the training of a machine learne..."><div class="figure align-default" id="id8">
|
|
<img alt="Train, convert and predict with ONNX Runtime" src="../images/sphx_glr_plot_train_convert_predict_thumb.png" />
|
|
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_train_convert_predict.html#sphx-glr-auto-examples-plot-train-convert-predict-py"><span class="std std-ref">Train, convert and predict with ONNX Runtime</span></a></span><a class="headerlink" href="#id8" title="Permalink to this image">¶</a></p>
|
|
</div>
|
|
</div><div class="toctree-wrapper compound">
|
|
</div>
|
|
<div class="sphx-glr-clear"></div><div class="sphx-glr-footer class sphx-glr-footer-gallery docutils container">
|
|
<div class="sphx-glr-download sphx-glr-download-python docutils container">
|
|
<p><a class="reference download internal" download="" href="../downloads/07fcc19ba03226cd3d83d4e40ec44385/auto_examples_python.zip"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">all</span> <span class="pre">examples</span> <span class="pre">in</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">auto_examples_python.zip</span></code></a></p>
|
|
</div>
|
|
<div class="sphx-glr-download sphx-glr-download-jupyter docutils container">
|
|
<p><a class="reference download internal" download="" href="../downloads/6f1e7a639e0699d6164445b55e6c116d/auto_examples_jupyter.zip"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">all</span> <span class="pre">examples</span> <span class="pre">in</span> <span class="pre">Jupyter</span> <span class="pre">notebooks:</span> <span class="pre">auto_examples_jupyter.zip</span></code></a></p>
|
|
</div>
|
|
</div>
|
|
<p class="sphx-glr-signature"><a class="reference external" href="https://sphinx-gallery.github.io">Gallery generated by Sphinx-Gallery</a></p>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
<div class="sphinxsidebarwrapper">
|
|
<p class="logo"><a href="../index.html">
|
|
<img class="logo" src="../static/ONNX_Runtime_icon.png" alt="Logo"/>
|
|
</a></p>
|
|
<h1 class="logo"><a href="../index.html">ONNX Runtime</a></h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Navigation</h3>
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="../tutorial.html">Tutorial</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../api_summary.html">API Summary</a></li>
|
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">Gallery of examples</a></li>
|
|
</ul>
|
|
|
|
<div class="relations">
|
|
<h3>Related Topics</h3>
|
|
<ul>
|
|
<li><a href="../index.html">Documentation overview</a><ul>
|
|
<li>Previous: <a href="../api_summary.html" title="previous chapter">API Summary</a></li>
|
|
<li>Next: <a href="plot_pipeline.html" title="next chapter">Draw a pipeline</a></li>
|
|
</ul></li>
|
|
</ul>
|
|
</div>
|
|
<div id="searchbox" style="display: none" role="search">
|
|
<h3 id="searchlabel">Quick search</h3>
|
|
<div class="searchformwrapper">
|
|
<form class="search" action="../search.html" method="get">
|
|
<input type="text" name="q" aria-labelledby="searchlabel" />
|
|
<input type="submit" value="Go" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script>$('#searchbox').show(0);</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="clearer"></div>
|
|
</div>
|
|
<div class="footer">
|
|
©2018-2021, Microsoft.
|
|
|
|
|
|
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.4.2</a>
|
|
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
|
|
|
|
|
|
<a href="../sources/auto_examples/index.rst.txt"
|
|
rel="nofollow">Page source</a>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html> |