Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ forward
Method
forward
imperative/python/megengine/module/module.py:112–113 ·
view source on GitHub ↗
(self, inputs)
Source
from the content-addressed store, hash-verified
110
111
@abstractmethod
112
def
forward(self, inputs):
113
pass
114
115
def
register_forward_pre_hook(self, hook: Callable) -> HookHandler:
116
""
"Registers a hook to handle forward inputs. `hook` should be a function.
Callers
1
__call__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected