API 相关说明
Update the scale factor according to whether encountered overflow grad. If new_scale is provided, internal update mechanism will be ignored.
new_scale
上一页
megengine.amp.GradScaler.unscale
下一页
megengine.amp.autocast