We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36c87f1 commit 95f2980Copy full SHA for 95f2980
1 file changed
torch/jit/_script.py
@@ -271,8 +271,8 @@ def __getattr__(self, attr):
271
# which always throws an exception.
272
273
class ScriptModule(with_metaclass(ScriptMeta, Module)): # type: ignore
274
- """
275
- ``ScriptModule``s wrap a C++ ``torch::jit::Module``. ``ScriptModule``s
+ r"""
+ A wrapper around C++ ``torch::jit::Module``. ``ScriptModule``\s
276
contain methods, attributes, parameters, and
277
constants. These can be accessed the same as on a normal ``nn.Module``.
278
"""
0 commit comments