requires_grad

Concept

A tensor attribute in PyTorch that, when set to True, signals that gradients need to be computed for this tensor during backpropagation.

Mentioned in 1 video