API 相关说明
Registers a hook to handle forward inputs. hook should be a function.
hook (Callable) – a function that receive module and inputs, then return a modified inputs or None.
Callable
HookHandler
a handler with remove interface to delete the hook.
remove
上一页
megengine.module.qat.Concat.register_forward_hook
下一页
megengine.module.qat.Concat.replace_param