torch.nn.Module, PyTorch Foundation, 2024 - Explains the base class for all neural network modules in PyTorch, illustrating model definition methods and structure.
torch.nn.Sequential, PyTorch Foundation, 2024 - Describes the container for sequential modules, showcasing its use for linearly stacked network layers in PyTorch.
Deep Learning, Ian Goodfellow, Yoshua Bengio, and Aaron Courville, 2016 (MIT Press) - Offers a theoretical foundation for feedforward neural networks, activation functions, and general deep learning architectures.
Neural Networks with PyTorch, PyTorch Foundation, 2021 (PyTorch Foundation) - Presents a practical guide to building neural networks in PyTorch, demonstrating both nn.Sequential and nn.Module approaches.