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.quantization.PassiveObserver.parameters
下一页
megengine.quantization.PassiveObserver.register_forward_pre_hook