mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Fix typo: 'intialized' → 'initialized' in test_modules.py (#157226)
This PR fixes a minor typo in `test/jit/test_modules.py`: - Before: `intialized` - After: `initialized` There are no functional code changes — this is a comment-only fix to improve clarity and consistency. Thank you to the PyTorch team for maintaining this outstanding project. Please let me know if anything else is needed. With appreciation, Abhishek Nandy [@abhitorch81](https://github.com/abhitorch81) Pull Request resolved: https://github.com/pytorch/pytorch/pull/157226 Approved by: https://github.com/Skylion007
This commit is contained in:
committed by
PyTorch MergeBot
parent
b221be9140
commit
a0e0abd037
@ -21,7 +21,7 @@ class TestModules(JitTestCase):
|
||||
"""
|
||||
|
||||
# torch.nn.Linear has a __constants__ attribute defined
|
||||
# and intialized to a list.
|
||||
# and initialized to a list.
|
||||
class Net(torch.nn.Linear):
|
||||
x: torch.jit.Final[int]
|
||||
|
||||
|
Reference in New Issue
Block a user