docs: remove extra backticks in `narrow_copy` (#54669)
Summary:
fixes https://github.com/pytorch/pytorch/issues/41590
https://11813004-65600975-gh.circle-artifacts.com/0/docs/tensors.html
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54669
Reviewed By: ailzhang
Differential Revision: D27328228
Pulled By: zou3519
fbshipit-source-id: 9a4a9bc4b265b0e82cf91f94dbbfd842fc42cdcb
diff --git a/torch/_tensor_docs.py b/torch/_tensor_docs.py
index b25d419..196715c 100644
--- a/torch/_tensor_docs.py
+++ b/torch/_tensor_docs.py
@@ -2487,9 +2487,9 @@
Same as :meth:`Tensor.narrow` except returning a copy rather
than shared storage. This is primarily for sparse tensors, which
-do not have a shared-storage narrow method. Calling ```narrow_copy``
-with ```dimemsion > self.sparse_dim()``` will return a copy with the
-relevant dense dimension narrowed, and ```self.shape``` updated accordingly.
+do not have a shared-storage narrow method. Calling ``narrow_copy``
+with ``dimemsion > self.sparse_dim()`` will return a copy with the
+relevant dense dimension narrowed, and ``self.shape`` updated accordingly.
""")
add_docstr_all('ndimension',