pytorch bullpen
Leaf variable must require option "requires_grad=True"
for example
x = torch.autograd.Variable(torch.Tensor([1, 2, 3, 4]), requires_grad=True)
x.is_leaf
then returns True
and if y =x+i then u should get "False"
Leaf variable must require option "requires_grad=True"
for example
x = torch.autograd.Variable(torch.Tensor([1, 2, 3, 4]), requires_grad=True)
x.is_leaf
then returns True
and if y =x+i then u should get "False"
Congratulations @riemannko! You received a personal award!
Click here to view your Board of Honor
Congratulations @riemannko! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!