IBM interview question

What does torch.no_grad() do in the following code?