Why does autograd not produce gradient for intermediate variables?

前端 未结 0 774
萌比男神i
萌比男神i 2021-02-13 07:38

trying to wrap my head around how gradients are represented and how autograd works:

import torch
from torch.autograd import Variable

x = Variable(torch.Tensor([         


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