Reason is, in Pytorch, low layer gradients are Not "overwritten" ... loss = loss1+loss2+loss3 loss.backward() print(x.grad).
確定! 回上一頁