onnxruntime/python/auto_examples/index.html

152 lines
11 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2019-12-20 21:35:58 +00:00
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Gallery of examples</title>
<link rel="stylesheet" href="../_static/pyramid.css" type="text/css"/>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/gallery.css" type="text/css" />
</head>
<body>
<div class="container">
<div class="row" style="margin-top: 1rem;">
<div id="sidebar" class="col-xs-12 col-sm-3">
<a href="../index.html">
<img style="margin-bottom: 0.5rem;" class="img-fluid" src="../_static/ONNX_Runtime_icon.png"/>
</a>
<div id="searchbox" style="display: none" role="search">
<form class="form-inline" action="../search.html" method="get">
<div class="form-group">
<label class="sr-only" for="searchInput">Search</label>
<input type="text" class="form-control" name="q" id="searchInput" placeholder="Search">
</div>
<button type="submit" class="btn btn-secondary" style="display:none">Go</button>
<input type="hidden" name="check_keywords" value="yes"/>
<input type="hidden" name="area" value="default"/>
</form>
</div>
2019-12-20 21:35:58 +00:00
<hr>
2019-12-20 21:35:58 +00:00
<div id="toc">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../tutorial.html">Tutorial</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../tutorial.html#step-1-train-a-model-using-your-favorite-framework">Step 1: Train a model using your favorite framework</a></li>
<li class="toctree-l2"><a class="reference internal" href="../tutorial.html#step-2-convert-or-export-the-model-into-onnx-format">Step 2: Convert or export the model into ONNX format</a></li>
<li class="toctree-l2"><a class="reference internal" href="../tutorial.html#step-3-load-and-run-the-model-using-onnx-runtime">Step 3: Load and run the model using ONNX Runtime</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../api_summary.html">API Summary</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../api_summary.html#device">Device</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api_summary.html#examples-and-datasets">Examples and datasets</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api_summary.html#load-and-run-a-model">Load and run a model</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api_summary.html#backend">Backend</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Gallery of examples</a><ul>
<li class="toctree-l2"><a class="reference internal" href="plot_pipeline.html">Draw a pipeline</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_load_and_predict.html">Load and predict with ONNX Runtime and a very simple model</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_profiling.html">Profile the execution of a simple model</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_backend.html">ONNX Runtime Backend for ONNX</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_metadata.html">Metadata</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_dl_keras.html">ONNX Runtime for Keras</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_convert_pipeline_vectorizer.html">Train, convert and predict with ONNX Runtime</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_common_errors.html">Common errors with onnxruntime</a></li>
<li class="toctree-l2"><a class="reference internal" href="plot_train_convert_predict.html">Train, convert and predict with ONNX Runtime</a></li>
</ul>
</li>
</ul>
2019-12-20 21:35:58 +00:00
</div>
</div>
<div class="col-xs-12 col-sm-9">
<div class="section" id="gallery-of-examples">
<h1>Gallery of examples<a class="headerlink" href="#gallery-of-examples" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
</div>
2019-12-20 21:35:58 +00:00
<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" id="id1">
<img alt="../_images/sphx_glr_plot_pipeline_thumb.png" 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></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" id="id2">
<img alt="../_images/sphx_glr_plot_load_and_predict_thumb.png" 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></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" id="id3">
<img alt="../_images/sphx_glr_plot_profiling_thumb.png" 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></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="*ONNX Runtime* extends the `onnx backend API &lt;https://github.com/onnx/onnx/blob/master/docs/Im..."><div class="figure" id="id4">
<img alt="../_images/sphx_glr_plot_backend_thumb.png" 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></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" id="id5">
<img alt="../_images/sphx_glr_plot_metadata_thumb.png" 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></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="The following demonstrates how to compute the predictions of a pretrained deep learning model o..."><div class="figure" id="id6">
<img alt="../_images/sphx_glr_plot_dl_keras_thumb.png" src="../_images/sphx_glr_plot_dl_keras_thumb.png" />
2019-12-20 21:35:58 +00:00
<p class="caption"><span class="caption-text"><a class="reference internal" href="plot_dl_keras.html#sphx-glr-auto-examples-plot-dl-keras-py"><span class="std std-ref">ONNX Runtime for Keras</span></a></span></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" id="id7">
<img alt="../_images/sphx_glr_plot_convert_pipeline_vectorizer_thumb.png" 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></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
2019-12-20 21:35:58 +00:00
<div class="sphx-glr-thumbcontainer" tooltip="This example looks into several common situations in which *onnxruntime* does not return the mo..."><div class="figure" id="id8">
<img alt="../_images/sphx_glr_plot_common_errors_thumb.png" src="../_images/sphx_glr_plot_common_errors_thumb.png" />
2019-12-20 21:35:58 +00:00
<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></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" id="id9">
<img alt="../_images/sphx_glr_plot_train_convert_predict_thumb.png" 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></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div><div class="sphx-glr-footer class sphx-glr-footer-gallery docutils container">
<div class="sphx-glr-download docutils container">
2019-12-20 21:35:58 +00:00
<a class="reference download internal" href="../_downloads/auto_examples_python.zip" download=""><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></div>
<div class="sphx-glr-download docutils container">
2019-12-20 21:35:58 +00:00
<a class="reference download internal" href="../_downloads/auto_examples_jupyter.zip" download=""><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></div>
</div>
<p class="sphx-glr-signature"><a class="reference external" href="https://sphinx-gallery.readthedocs.io">Gallery generated by Sphinx-Gallery</a></p>
</div>
</div>
2019-12-20 21:35:58 +00:00
</div>
</div>
2019-12-20 21:35:58 +00:00
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"
integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js"
integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.3/js/bootstrap.min.js"
integrity="sha384-ux8v3A6CPtOTqOzMKiuo3d/DomGaaClxFYdCu2HPMBEkf6x2xiDyJ7gkXU0MWwaD"
crossorigin="anonymous"></script>
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/0.6.0/lunr.min.js"></script>
<script src="../_static/searchtools.js"></script>
<script>$('#searchbox').show(0)</script>
</body>
</html>