but if i just use the input wouldn’t the requires_grad consider to be true by default?
I mean if have
input1 = Variable(input1, requires_grad=False)
and
input2 = Variable(input2, requires_grad=True)
in the new version of pytorch, should i replace both of them with input1,input2 respectively?