Skip to content

Commit 0085682

Browse files
prigoyalchsasank
authored andcommitted
tiny change to super-resolution tutorial (pytorch#138)
* tiny change to tutorial missed a single word :P * Update super_resolution_with_caffe2.py
1 parent 3c62a58 commit 0085682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

advanced_source/super_resolution_with_caffe2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
You can get binary builds of onnx and onnx-caffe2 with
1414
``conda install -c ezyang onnx onnx-caffe2``.
1515
16-
``NOTE``: This tutorial needs PyTorch master branch which can installed by following
16+
``NOTE``: This tutorial needs PyTorch master branch which can be installed by following
1717
the instructions `here <https://github.com/pytorch/pytorch#from-source>`__
1818
1919
"""
@@ -96,7 +96,7 @@ def _initialize_weights(self):
9696
# Exporting a model in PyTorch works via tracing. To export a model, you
9797
# call the ``torch.onnx._export()`` function. This will execute the model,
9898
# recording a trace of what operators are used to compute the outputs.
99-
# Because ``export`` runs the model, we need provide an input tensor
99+
# Because ``_export`` runs the model, we need provide an input tensor
100100
# ``x``. The values in this tensor are not important; it can be an image
101101
# or a random tensor as long as it is the right size.
102102
#

0 commit comments

Comments
 (0)