Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/GLM
/ forward
Method
forward
mpu/mappings.py:83–84 ·
view source on GitHub ↗
(ctx, input_)
Source
from the content-addressed store, hash-verified
81
82
@staticmethod
83
def
forward(ctx, input_):
84
return
input_
85
86
@staticmethod
87
def
backward(ctx, grad_output):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected