torch_npu.npu.set_autocast_dtype

torch_npu.npu.set_autocast_dtype(dtype)

设置设备在AMP场景支持的数据类型。