How Pytorch calculate Gradient in linear regression loss function

后端 未结 0 1991
轻奢々
轻奢々 2020-11-28 00:49

I have been following this tutorial on PyTorch linear regression. the loss function is torch.sum(diff * diff) / diff.numel() where diff is Target - predicted va

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