修改a[0]为a.item()
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python
最新推荐文章于 2024-04-26 21:45:21 发布
修改a[0]为a.item()