Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f9967d

Browse files
Fix ReST formatting of code example in iOS GPU workflow (#1298)
* Fix rst formatting of code example The example code is swallowed in the preview of Github * Remove newline at the end of file Co-authored-by: holly1238 <[email protected]>
1 parent e7932fc commit 3f9967d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

prototype_source/ios_gpu_workflow.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Note ``IOS_ARCH`` tells the script to build a arm64 version of Libtorch. This is
7070
Next we need to make some changes in ``TorchModule.mm``
7171

7272
.. code:: objective-c
73+
7374
//#import <LibTorch/LibTorch.h>
7475
#import <torch/script.h>
7576
@@ -106,4 +107,4 @@ Learn More
106107
----------
107108

108109
- The `Mobilenetv2 <https://pytorch.org/hub/pytorch_vision_mobilenet_v2/>`_ from Torchvision
109-
- To learn more about how to use ``optimize_for_mobile``, please refer to the `Mobile Perf Recipe <https://pytorch.org/tutorials/recipes/mobile_perf.html>`_
110+
- To learn more about how to use ``optimize_for_mobile``, please refer to the `Mobile Perf Recipe <https://pytorch.org/tutorials/recipes/mobile_perf.html>`_

0 commit comments

Comments
 (0)