摘要: RuntimeError: bool value of Tensor with more than one value is ambiguous 运行下面这段代码的时候出错了,后来网上搜说改成 if w1.grad is not None: 可以通过。 阅读全文
posted @ 2019-04-24 15:47 卷积 阅读(4436) 评论(0) 推荐(0) 编辑