Skip to content

Commit bb362c2

Browse files
author
Thiago Crepaldi
committed
Create ONNX section with sattic URL
1 parent 28c6e96 commit bb362c2

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
</noscript>
108108

109109
<script type="text/javascript">
110-
var collapsedSections = ['PyTorch Recipes', 'Learning PyTorch', 'Image and Video', 'Audio', 'Text', 'Reinforcement Learning', 'Deploying PyTorch Models in Production', 'Code Transforms with FX', 'Frontend APIs', 'Extending PyTorch', 'Model Optimization', 'Parallel and Distributed Training', 'Mobile'];
110+
var collapsedSections = ['PyTorch Recipes', 'Learning PyTorch', 'Image and Video', 'Audio', 'Text', 'Exporting models to ONNX', 'Reinforcement Learning', 'Deploying PyTorch Models in Production', 'Code Transforms with FX', 'Frontend APIs', 'Extending PyTorch', 'Model Optimization', 'Parallel and Distributed Training', 'Mobile'];
111111
</script>
112112

113113
<img height="1" width="1" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/795629140/?label=txkmCPmdtosBENSssfsC&amp;guid=ON&amp;script=0"/>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Exporting models to ONNX
2+
========================
3+
4+
**Author**: `Thiago Crepaldi <https://github.com/thiagocrepaldi>`_
5+
6+
In this series we are going to learn how to export a PyTorch model into ONNX format and run it using ONNX Runtime.

index.rst

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,16 @@ What's new in PyTorch tutorials?
272272
:tags: Text
273273

274274

275+
.. Exporting models to ONNX
276+
277+
.. customcarditem::
278+
:header: (optional) Exporting a PyTorch Model to ONNX using TorchScript backend and Running it using ONNX Runtime
279+
:card_description: Convert a model defined in PyTorch into the ONNX format and then run it with ONNX Runtime.
280+
:image: _static/img/thumbnails/cropped/optional-Exporting-a-Model-from-PyTorch-to-ONNX-and-Running-it-using-ONNX-Runtime.png
281+
:link: advanced/super_resolution_with_onnxruntime.html
282+
:tags: Production,ONNX
283+
284+
275285
.. Reinforcement Learning
276286
277287
.. customcarditem::
@@ -328,13 +338,6 @@ What's new in PyTorch tutorials?
328338
:link: advanced/cpp_export.html
329339
:tags: Production,TorchScript
330340

331-
.. customcarditem::
332-
:header: (optional) Exporting a Model from PyTorch to ONNX and Running it using ONNX Runtime
333-
:card_description: Convert a model defined in PyTorch into the ONNX format and then run it with ONNX Runtime.
334-
:image: _static/img/thumbnails/cropped/optional-Exporting-a-Model-from-PyTorch-to-ONNX-and-Running-it-using-ONNX-Runtime.png
335-
:link: advanced/super_resolution_with_onnxruntime.html
336-
:tags: Production
337-
338341
.. Code Transformations with FX
339342
340343
.. customcarditem::
@@ -902,6 +905,15 @@ Additional Resources
902905
beginner/torchtext_custom_dataset_tutorial
903906

904907

908+
.. toctree::
909+
:maxdepth: 2
910+
:includehidden:
911+
:hidden:
912+
:caption: Exporting models to ONNX
913+
914+
beginner/onnx/learning_onnx
915+
916+
905917
.. toctree::
906918
:maxdepth: 2
907919
:includehidden:

0 commit comments

Comments
 (0)