Skip to content

Commit 3423f67

Browse files
jeffxtangbrianjo
andauthored
minor typo fixes (#1160)
Co-authored-by: Brian Johnson <brianjo@fb.com>
1 parent bd1dfa3 commit 3423f67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipes_source/mobile_perf.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Code your model:
7272
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7373

7474
Do not be confused that fuse_modules is in the quantization package.
75-
It works for all ``torcn.nn.Module``.
75+
It works for all ``torch.nn.Module``.
7676

7777
``torch.quantization.fuse_modules`` fuses a list of modules into a single module.
7878
It fuses only the following sequence of modules:
@@ -237,7 +237,7 @@ Now we are ready to benchmark your model:
237237

238238
::
239239

240-
adb shell "/data/local/tmp/speed_benchmark_torch --model="/data/local/tmp/model.pt" --input_dims="1,3,224,224" --input_type="float"
240+
adb shell "/data/local/tmp/speed_benchmark_torch --model=/data/local/tmp/model.pt" --input_dims="1,3,224,224" --input_type="float"
241241
----- output -----
242242
Starting benchmark.
243243
Running warmup runs.
@@ -250,7 +250,7 @@ iOS - Benchmarking Setup
250250

251251
For iOS, we'll be using our `TestApp <https://github.com/pytorch/pytorch/tree/master/ios/TestApp>`_ as the benchmarking tool.
252252

253-
To begin with, let's apply the ``optimize_for_mobile`` method to our python script located at `TestApp/benchmark/trace_mode.py <https://github.com/pytorch/pytorch/blob/master/ios/TestApp/benchmark/trace_model.py>`_. Simply modify the code as below.
253+
To begin with, let's apply the ``optimize_for_mobile`` method to our python script located at `TestApp/benchmark/trace_model.py <https://github.com/pytorch/pytorch/blob/master/ios/TestApp/benchmark/trace_model.py>`_. Simply modify the code as below.
254254

255255
::
256256

0 commit comments

Comments
 (0)