Skip to content

Commit

Permalink
Update Python API docs to commit dac2a4e
Browse files Browse the repository at this point in the history
  • Loading branch information
natke authored Feb 3, 2023
1 parent 72f431d commit 53fb6c0
Show file tree
Hide file tree
Showing 35 changed files with 199 additions and 199 deletions.
2 changes: 1 addition & 1 deletion docs/api/python/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: fff8dc95ae2aebd90857c3f463727221
config: edf3d4d493e1c73b8852a440fb3764b3
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion docs/api/python/api_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>API &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>API &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="static/pygments.css" />
<link rel="stylesheet" type="text/css" href="static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="static/graphviz.css" />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/python/auto_examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>Gallery of examples &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>Gallery of examples &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down
4 changes: 2 additions & 2 deletions docs/api/python/auto_examples/plot_backend.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>ONNX Runtime Backend for ONNX &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>ONNX Runtime Backend for ONNX &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down Expand Up @@ -112,7 +112,7 @@
<p>The backend API is implemented by other frameworks
and makes it easier to switch between multiple runtimes
with the same API.</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.015 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.019 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-backend-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../downloads/3e23fa9ebb26f4728ee8426ed7da0f63/plot_backend.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_backend.py</span></code></a></p>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/python/auto_examples/plot_common_errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>Common errors with onnxruntime &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>Common errors with onnxruntime &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down Expand Up @@ -209,7 +209,7 @@
ERROR with Shape=(2, 1, 2) - [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Invalid rank for input: float_input Got: 3 Expected: 2 Please fix either the inputs or the model.
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.009 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.011 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-common-errors-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../downloads/3a2955e44bf8f95a0eee6e71695ad788/plot_common_errors.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_common_errors.py</span></code></a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>Train, convert and predict with ONNX Runtime &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>Train, convert and predict with ONNX Runtime &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down Expand Up @@ -143,7 +143,7 @@ <h2><a class="toc-backref" href="#id1">Train a pipeline</a><a class="headerlink"
<span class="nb">print</span><span class="p">(</span><span class="n">r2_score</span><span class="p">(</span><span class="n">y_test</span><span class="p">,</span> <span class="n">pred</span><span class="p">))</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>0.8734790544164374
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>0.8697353108566117
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -200,12 +200,12 @@ <h2><a class="toc-backref" href="#id2">Conversion to ONNX format</a><a class="he
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="n">r2_score</span><span class="p">(</span><span class="n">pred</span><span class="p">,</span> <span class="n">pred_onx</span><span class="p">))</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>0.9999999999999354
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>0.999999999999907
</pre></div>
</div>
<p>Very similar. <em>ONNX Runtime</em> uses floats instead of doubles,
that explains the small discrepencies.</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 1.165 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 1.400 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-convert-pipeline-vectorizer-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../downloads/982a1f7abbb8ffc5d5e98b671c35e5aa/plot_convert_pipeline_vectorizer.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_convert_pipeline_vectorizer.py</span></code></a></p>
Expand Down
32 changes: 16 additions & 16 deletions docs/api/python/auto_examples/plot_load_and_predict.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>Load and predict with ONNX Runtime and a very simple model &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>Load and predict with ONNX Runtime and a very simple model &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down Expand Up @@ -108,24 +108,24 @@
<span class="nb">print</span><span class="p">(</span><span class="n">res</span><span class="p">)</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[array([[[0.59265393, 0.7246058 , 0.62519205, 0.7004995 , 0.6416377 ],
[0.5454135 , 0.65959364, 0.6020219 , 0.56796944, 0.63770235],
[0.6438767 , 0.73105097, 0.6988132 , 0.67353356, 0.67766804],
[0.5540559 , 0.67908806, 0.64719033, 0.70831954, 0.71614885]],

[[0.6420407 , 0.6707052 , 0.59057796, 0.63475496, 0.50294226],
[0.68205726, 0.6349313 , 0.6219983 , 0.6343657 , 0.6805997 ],
[0.685706 , 0.60009193, 0.7035725 , 0.63636667, 0.667937 ],
[0.57011735, 0.6401627 , 0.7033285 , 0.65497917, 0.69604504]],

[[0.67350495, 0.5930217 , 0.5114459 , 0.70683706, 0.67305243],
[0.6557756 , 0.6705569 , 0.55717707, 0.62621975, 0.55469143],
[0.5987439 , 0.6382455 , 0.5550844 , 0.5442223 , 0.56532246],
[0.5364911 , 0.6803087 , 0.5160084 , 0.5848341 , 0.5916815 ]]],
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[array([[[0.6902864 , 0.7206708 , 0.6047658 , 0.5074533 , 0.6508994 ],
[0.6489977 , 0.6964083 , 0.519785 , 0.5610314 , 0.6753805 ],
[0.506763 , 0.5284061 , 0.50070983, 0.5859925 , 0.5708233 ],
[0.71998346, 0.5123379 , 0.71375036, 0.5596567 , 0.54738003]],

[[0.5912373 , 0.63062406, 0.6535078 , 0.59097815, 0.5137277 ],
[0.6896554 , 0.6917182 , 0.5757128 , 0.6293266 , 0.511672 ],
[0.67412186, 0.7235627 , 0.55960613, 0.71795595, 0.51718545],
[0.5558291 , 0.56989175, 0.6609582 , 0.58464724, 0.72488725]],

[[0.6403337 , 0.6877204 , 0.6863933 , 0.59831685, 0.69046646],
[0.6653287 , 0.5294364 , 0.5076415 , 0.52182996, 0.5042456 ],
[0.5762513 , 0.6936131 , 0.67079926, 0.59084696, 0.63342583],
[0.6960165 , 0.7234695 , 0.5307452 , 0.64793164, 0.6114413 ]]],
dtype=float32)]
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.008 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.014 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-load-and-predict-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../downloads/7c8424f45d0156abd4d0221c65601124/plot_load_and_predict.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_load_and_predict.py</span></code></a></p>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/python/auto_examples/plot_metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>Metadata &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>Metadata &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down Expand Up @@ -111,7 +111,7 @@
version=0
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.003 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.005 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-metadata-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../downloads/932fe1ee7f48f55a6155d2f378bc85a0/plot_metadata.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_metadata.py</span></code></a></p>
Expand Down
6 changes: 3 additions & 3 deletions docs/api/python/auto_examples/plot_pipeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>Draw a pipeline &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>Draw a pipeline &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down Expand Up @@ -183,10 +183,10 @@ <h2><a class="toc-backref" href="#id2">Draw a model with ONNX</a><a class="heade
<span class="n">plt</span><span class="o">.</span><span class="n">imshow</span><span class="p">(</span><span class="n">image</span><span class="p">)</span>
</pre></div>
</div>
<img src="../images/sphx_glr_plot_pipeline_001.png" srcset="../images/sphx_glr_plot_pipeline_001.png" alt="plot pipeline" class = "sphx-glr-single-img"/><div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.image.AxesImage object at 0x7f9f30133d90&gt;
<img src="../images/sphx_glr_plot_pipeline_001.png" srcset="../images/sphx_glr_plot_pipeline_001.png" alt="plot pipeline" class = "sphx-glr-single-img"/><div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.image.AxesImage object at 0x7fdd15b3bc70&gt;
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.262 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.177 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-pipeline-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../downloads/d436e9922b51a71358604ec00f09e7e4/plot_pipeline.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_pipeline.py</span></code></a></p>
Expand Down
20 changes: 10 additions & 10 deletions docs/api/python/auto_examples/plot_profiling.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gtag('config', 'UA-156955408-1');
</script>

<title>Profile the execution of a simple model &#8212; ONNX Runtime 1.14.0 documentation</title>
<title>Profile the execution of a simple model &#8212; ONNX Runtime 1.15.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../static/graphviz.css" />
Expand Down Expand Up @@ -106,7 +106,7 @@
<span class="nb">print</span><span class="p">(</span><span class="n">prof_file</span><span class="p">)</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>onnxruntime_profile__2023-01-24_17-33-37.json
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>onnxruntime_profile__2023-02-03_00-26-16.json
</pre></div>
</div>
<p>The results are stored un a file in JSON format.
Expand All @@ -122,23 +122,23 @@
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[{&#39;args&#39;: {},
&#39;cat&#39;: &#39;Session&#39;,
&#39;dur&#39;: 62,
&#39;dur&#39;: 64,
&#39;name&#39;: &#39;model_loading_array&#39;,
&#39;ph&#39;: &#39;X&#39;,
&#39;pid&#39;: 2820,
&#39;tid&#39;: 2820,
&#39;pid&#39;: 2668,
&#39;tid&#39;: 2668,
&#39;ts&#39;: 1},
{&#39;args&#39;: {},
&#39;cat&#39;: &#39;Session&#39;,
&#39;dur&#39;: 281,
&#39;dur&#39;: 420,
&#39;name&#39;: &#39;session_initialization&#39;,
&#39;ph&#39;: &#39;X&#39;,
&#39;pid&#39;: 2820,
&#39;tid&#39;: 2820,
&#39;ts&#39;: 92}]
&#39;pid&#39;: 2668,
&#39;tid&#39;: 2668,
&#39;ts&#39;: 81}]
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.005 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.007 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-profiling-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../downloads/cfe61aca1f0a89486c7024466ea500fd/plot_profiling.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_profiling.py</span></code></a></p>
Expand Down
Loading

0 comments on commit 53fb6c0

Please sign in to comment.