TypeError: backward() got an unexpected keyword argument 'grad_tensors' in pytorch

后端 未结 0 1679
谎友^
谎友^ 2020-12-09 01:55

I have the following

w = torch.tensor([1.], requires_grad=True)
x = torch.tensor([2.], requires_grad=True)

a = torch.add(w, x)
b = torch.add(w, 1)

y0 = torc         


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