torch_npu.npu.get_amp_supported_dtype
API接口
torch_npu.npu.get_amp_supported_dtype()
功能描述
获取npu设备支持的数据类型,可能设备支持不止一种数据类型。
输出说明
List[torch.dtype]
父主题:
amp