From 8b9dc3acca0e48b917ecff9022a70f063bdd7bb8 Mon Sep 17 00:00:00 2001 From: titaiwangms Date: Fri, 7 Mar 2025 18:01:13 +0000 Subject: [PATCH 1/2] add and fix custom cards for ONNX --- index.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/index.rst b/index.rst index 55c7ce6304..3f521e4c47 100644 --- a/index.rst +++ b/index.rst @@ -265,10 +265,17 @@ Welcome to PyTorch Tutorials :tags: Production,ONNX,Backends .. customcarditem:: - :header: Introduction to ONNX Registry - :card_description: Demonstrate end-to-end how to address unsupported operators by using ONNX Registry. + :header: Extending the ONNX exporter operator support + :card_description: Demonstrate end-to-end how to address unsupported operators in ONNX. :image: _static/img/thumbnails/cropped/Exporting-PyTorch-Models-to-ONNX-Graphs.png - :link: advanced/onnx_registry_tutorial.html + :link: beginner/onnx_registry_tutorial.html + :tags: Production,ONNX,Backends + +.. customcarditem:: + :header: Exporting a model with control flow to ONNX + :card_description: Demonstrate how to handle control flow logic while exporting a PyTorch model to ONNX. + :image: _static/img/thumbnails/cropped/Exporting-PyTorch-Models-to-ONNX-Graphs.png + :link: beginner/export_control_flow_model_to_onnx_tutorial.html :tags: Production,ONNX,Backends .. Reinforcement Learning From 923c95ac3302311b6fdc2ee1a979a62658b00de1 Mon Sep 17 00:00:00 2001 From: titaiwangms Date: Fri, 7 Mar 2025 23:06:45 +0000 Subject: [PATCH 2/2] fix wrong web link in index.rst --- index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.rst b/index.rst index 3f521e4c47..155b63a006 100644 --- a/index.rst +++ b/index.rst @@ -268,14 +268,14 @@ Welcome to PyTorch Tutorials :header: Extending the ONNX exporter operator support :card_description: Demonstrate end-to-end how to address unsupported operators in ONNX. :image: _static/img/thumbnails/cropped/Exporting-PyTorch-Models-to-ONNX-Graphs.png - :link: beginner/onnx_registry_tutorial.html + :link: beginner/onnx/onnx_registry_tutorial.html :tags: Production,ONNX,Backends .. customcarditem:: :header: Exporting a model with control flow to ONNX :card_description: Demonstrate how to handle control flow logic while exporting a PyTorch model to ONNX. :image: _static/img/thumbnails/cropped/Exporting-PyTorch-Models-to-ONNX-Graphs.png - :link: beginner/export_control_flow_model_to_onnx_tutorial.html + :link: beginner/onnx/export_control_flow_model_to_onnx_tutorial.html :tags: Production,ONNX,Backends .. Reinforcement Learning