Skip to content

Commit a3746b9

Browse files
author
Svetlana Karslioglu
committed
Fix
1 parent bdb8b78 commit a3746b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

intermediate_source/scaled_dot_product_attention_tutorial.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535
# * `Memory-Efficient Attention <https://github.com/facebookresearch/xformers>`__
3636
# * A PyTorch implementation defined in C++
3737
#
38-
# .. literalinclude:: ../beginner_source/new-release-colab.rst
38+
"""
39+
.. literalinclude:: ../beginner_source/new-release-colab.rst
40+
:language: rst
41+
"""
3942

4043
import torch
4144
import torch.nn as nn

0 commit comments

Comments
 (0)