File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
You can get binary builds of onnx and onnx-caffe2 with
14
14
``conda install -c ezyang onnx onnx-caffe2``.
15
15
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
17
17
the instructions `here <https://github.com/pytorch/pytorch#from-source>`__
18
18
19
19
"""
@@ -96,7 +96,7 @@ def _initialize_weights(self):
96
96
# Exporting a model in PyTorch works via tracing. To export a model, you
97
97
# call the ``torch.onnx._export()`` function. This will execute the model,
98
98
# 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
100
100
# ``x``. The values in this tensor are not important; it can be an image
101
101
# or a random tensor as long as it is the right size.
102
102
#
You can’t perform that action at this time.
0 commit comments