Was this section helpful?
torch.nn
- PyTorch documentation, PyTorch Core Team, 2024 - Official documentation for PyTorch's neural network module base class (nn.Module
) and its sub-components, serving as the authoritative reference for custom module implementation.nn.Module
in the section content.nn.Module
, PyTorch Core Team, 2024 (PyTorch) - A PyTorch official tutorial that provides a hands-on guide to creating custom neural network layers by inheriting from nn.Module
.