megengine.autodiff

>>> from megengine.autodiff import GradManager

Function

定义一段具有自定义求导规则的计算

GradManager

GradManager computes gradients or more generally, vector-Jacobian product, by reverse mode automatic differentiation (a.k.a.