Is there an error in the Pytorch documentation: Module — PyTorch 2.7 documentation
because when you do actually implement torch.nn it uses torch.nn.module so in Pytorch documentation why does it show torch.nn.modules?
Is it an error in the documentation ?
aaraya
(Adrian Araya)
2
Hi @SunshineLightHouse, there is a post that talks about this, please read: https://discuss.pytorch.org/t/difference-between-nn-module-and-module-from-nn-modules-module/46631/4
Adrian Araya
Machine Learning Engineer at RidgeRun.ai
Contact us: support@ridgerun.ai