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.
Glossary: Deep Learning Basics
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.