Are you referring to input_var using a Variable keyword? Instead of
input_var = Variable(torch.randn(27297, 300), requires_grad=True)
I should have it as
input_var = torch.randn(27297, 300)
What Happens with
requires_grad=True?
Are you referring to input_var using a Variable keyword? Instead of
input_var = Variable(torch.randn(27297, 300), requires_grad=True)
I should have it as
input_var = torch.randn(27297, 300)
What Happens with
requires_grad=True?