Computing intermediate gradients using backward method in Pytorch

前端 未结 0 1881
借酒劲吻你
借酒劲吻你 2020-12-05 05:51

I am having trouble in understanding backward method in pytorch

x1 = tensor(2.).requires_grad_()
x2 = tensor(3.).requires_grad_() # or x2 = tenso         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题