Glossary: Deep Learning Basics
requires_grad
Also written: requires_grad=True
A tensor flag telling autograd to record operations on it so gradients can be computed. `nn.Linear` sets it on its weights automatically.
Glossary: Deep Learning Basics
Also written: requires_grad=True
A tensor flag telling autograd to record operations on it so gradients can be computed. `nn.Linear` sets it on its weights automatically.