Skip to content

Commit 3b23c0e

Browse files
authored
Update transformer_building_blocks.py (#3519)
Quick link fix as a follow up to: #3517
1 parent c967f02 commit 3b23c0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intermediate_source/transformer_building_blocks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
# ===============================
7272
# First, we will briefly introduce the four technologies mentioned in the introduction
7373
#
74-
# * `torch.nested <https://pytorch.org/tutorials/prototype/nestedtensor.html>`_
74+
# * `torch.nested <https://pytorch.org/tutorials/unstable/nestedtensor.html>`_
7575
#
7676
# Nested tensors generalize the shape of regular dense tensors, allowing for
7777
# representation of ragged-sized data with the same tensor UX. In the context of
@@ -157,7 +157,7 @@
157157
# skipped, performance and memory usage improve.
158158
#
159159
# We'll demonstrate the above by building upon the ``MultiheadAttention`` layer in the
160-
# `Nested Tensor tutorial <https://pytorch.org/tutorials/prototype/nestedtensor.html>`_
160+
# `Nested Tensor tutorial <https://pytorch.org/tutorials/unstable/nestedtensor.html>`_
161161
# and comparing it to the ``nn.MultiheadAttention`` layer.
162162

163163
import torch

0 commit comments

Comments
 (0)