Skip to content

Glossary: Deep Learning Basics

nn.Module

Also written: Module

The base class of every PyTorch model. You write `__init__` to create layers (calling `super().__init__()` first) and `forward` to say how data flows through them.

Where the book teaches it

Related terms

forwardnn.SequentialParameters