Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/GLM
/ forward
Method
forward
mpu/mappings.py:95–96 ·
view source on GitHub ↗
(ctx, input_)
Source
from the content-addressed store, hash-verified
93
94
@staticmethod
95
def
forward(ctx, input_):
96
return
_reduce(input_)
97
98
@staticmethod
99
def
backward(ctx, grad_output):
Callers
nothing calls this directly
Calls
1
_reduce
Function · 0.85
Tested by
no test coverage detected