Requires_grad in nn tutorial

In the above, I see the following code which sets requires_grad=False. Since the default of requires_grad should be False, I am not sure why requires_grad is specified explicitly. Could anybody confirm?

x = Variable(torch.randn(N, D_in))
y = Variable(torch.randn(N, D_out), requires_grad=False)

That is correct, the default of requires_grad is False. It doesn’t hurt to specify it, some people might do that for better code readability.