已有5331 次阅读 2020-10-23 23:00 |个人分类:Pytorch|系统分类:科研笔记 ... 查看了一下x元素类型是torch.int64,根据提示添加一句x=x.float()转为tensor.float32就行.
確定! 回上一頁