Fix typos in meta.rst (#151979)

### Fixes made:
- "allow you to the module" → corrected to "allows you to move the module"

- "allow" → changed to "allows" to agree with the singular subject "method"
Pull Request resolved: https://github.com/pytorch/pytorch/pull/151979
Approved by: https://github.com/colesbury
This commit is contained in:
Kaiyu Shi
2025-04-24 01:25:09 +00:00
committed by PyTorch MergeBot
parent 4e1d4333f7
commit f39a1a43ee

View File

@ -68,7 +68,7 @@ Use a factory function like :func:`torch.empty_like` to explicitly specify how
you would like the missing data to be filled in.
NN modules have a convenience method :meth:`torch.nn.Module.to_empty` that
allow you to the module to another device, leaving all parameters
allows you to move the module to another device, leaving all parameters
uninitialized. You are expected to explicitly reinitialize the parameters
manually::