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