Torch.no_grad vs requires_grad = false

As a small addition: this code shows what @soulitzer described.

2 Likes