模型开发接口
推理部署接口
API 相关说明
Get or set amp autocast mode’s higher precision dtype. It will change the target dtype in tensor casting for better precision. Default: float32.
Examples
import megengine as mge mge.amp.high_prec_dtype = "float32"
previous
megengine.amp.enabled
next
megengine.amp.low_prec_dtype