Model Architectures: Keras APIs and PyTorch's nn.Module
Was this section helpful?
Build Keras models, fchollet, 2024 (TensorFlow) - Official guide to Keras model construction, covering both the Sequential and Functional APIs with practical examples.
torch.nn - PyTorch Documentation, PyTorch Authors, 2024 - The official documentation for PyTorch's neural network module API, explaining nn.Module as the base class and nn.Sequential.
Dive into Deep Learning, Aston Zhang, Zack C. Lipton, Mu Li, and Alex J. Smola, 2024 (Cambridge University Press) - An open-access interactive textbook that includes chapters on building deep networks using frameworks like PyTorch, suitable for practical learning.
Deep Learning with PyTorch, Eli Stevens, Luca Antiga, and Thomas Viehmann, 2020 (Manning Publications) - A practical book offering guidance on constructing PyTorch models using nn.Module and related architecture concepts.