torch_npu.npu.is_autocast_enabled()
确认autocast是否可用。
无参数
bool
无
>>>torch_npu.npu.is_autocast_enabled() True