beta)torch_npu.npu.get_amp_supported_dtype

接口原型

torch_npu.npu.get_amp_supported_dtype()

功能描述

获取npu设备支持的数据类型,可能设备支持不止一种数据类型。

输出说明

List[torch.dtype]

支持的型号