华为计算微信公众号
昇腾AI开发者公众号
华为计算微博
华为计算今日头条
按https://ascend.github.io/docs/sources/pytorch/index.html安装torch-npu没有报错,但是运行示例代码报错
示例代码:
import torch import torch_npu x = torch.randn(2, 2).npu() y = torch.randn(2, 2).npu() z = x.mm(y) print(z)
我要发帖子
按https://ascend.github.io/docs/sources/pytorch/index.html安装torch-npu没有报错,但是运行示例代码报错

示例代码: