1. 报错:'Tensor' object is not callable
2. 解决:https://blog.csdn.net/york1996/article/details/84037641
https://blog.csdn.net/suyulan123456/article/details/84589436?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-3.control&dist_request_id=1328740.38064.16169862543041725&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-3.control
我的:定义的loss函数和loss.backward()重名,导致报错。