megengine.amp¶
A helper class that performs grad scaling to prevent from data overflow in |
|
A class to control autocast mode for amp as a context manager or a decorator. |
|
Convert NCHW Module to NHWC Module. |
|
Convert NCHW Tensor to NHWC Tensor. |
Get or set amp autocast mode enabled or not. |
|
Get or set amp autocast mode's higher precision dtype. |
|
Get or set amp autocast mode's lower precision dtype. |