(beta)torch_npu.npu.get_amp_supported_dtype
接口原型
torch_npu.npu.get_amp_supported_dtype()
功能描述
获取npu设备支持的数据类型,可能设备支持不止一种数据类型。
输出说明
List[torch.dtype]
支持的型号
- Atlas 训练系列产品
- Atlas A2 训练系列产品
- Atlas 推理系列产品
父主题: amp
torch_npu.npu.get_amp_supported_dtype()
获取npu设备支持的数据类型,可能设备支持不止一种数据类型。
List[torch.dtype]