(beta)c10_npu::device_count
定义文件
torch_npu\csrc\core\npu\NPUFunctions.h
函数原型
[object Object]
功能说明
NPU设备数量获取,返回值类型DeviceIndex,与c10::DeviceIndex c10::cuda::device_count()相同。
支持的型号
- [object Object]Atlas 训练系列产品[object Object]
- [object Object]Atlas A2 训练系列产品[object Object]
- [object Object]Atlas A3 训练系列产品[object Object]
- [object Object]Atlas 推理系列产品[object Object]