From 5fdaa7ea5f478bf916c1d0062353a7516a17a27e Mon Sep 17 00:00:00 2001 From: Remi Delbouys Date: Wed, 26 Apr 2023 10:13:51 +0200 Subject: [PATCH] Fix image URL in tutorial Intro_to_TorchScript Fix url to this GIF: https://raw.githubusercontent.com/pytorch/pytorch/main/docs/source/_static/img/dynamic_graph.gif Currently, the image is not shown in the tutorial. --- beginner_source/Intro_to_TorchScript_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/Intro_to_TorchScript_tutorial.py b/beginner_source/Intro_to_TorchScript_tutorial.py index 063abd442d1..d369c4fbf80 100644 --- a/beginner_source/Intro_to_TorchScript_tutorial.py +++ b/beginner_source/Intro_to_TorchScript_tutorial.py @@ -158,7 +158,7 @@ def forward(self, x, h): # have to explicitly define derivatives for all constructs in the # language. # -# .. figure:: https://github.com/pytorch/pytorch/raw/master/docs/source/_static/img/dynamic_graph.gif +# .. figure:: https://github.com/pytorch/pytorch/raw/main/docs/source/_static/img/dynamic_graph.gif # :alt: How autograd works # # How autograd works