Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ forward
Method
forward
imperative/python/megengine/module/identity.py:9–10 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
7
r
""
"A placeholder identity operator that will ignore any argument."
""
8
9
def
forward(self, x):
10
return
copy(x)
Callers
nothing calls this directly
Calls
1
copy
Function · 0.50
Tested by
no test coverage detected