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.Concat.register_forward_hook
下一页
megengine.module.Concat.replace_param