In the following tutorial, why do we need “with torch.set_grad_enabled(phase == ‘train’)” because we aren’t calling backward on “test” phase anyways so no gradients will be calculated.
https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html#training-the-model 131