API 相关说明
Registers a hook to handle forward results. hook should be a function that receive module, inputs and outputs, then return a modified outputs or None.
This method return a handler with remove interface to delete the hook.
remove
HookHandler
上一页
megengine.module.GELU.parameters
下一页
megengine.module.GELU.register_forward_pre_hook