Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BICLab/SpikingBrain-7B
/ forward
Method
forward
W8ASpike/activations.py:387–389 ·
view source on GitHub ↗
(ctx, x, y)
Source
from the content-addressed store, hash-verified
385
386
@staticmethod
387
def
forward(ctx, x, y):
388
ctx.save_for_backward(x, y)
389
return
swiglu_fwd(x, y)
390
391
@staticmethod
392
def
backward(ctx, dout):
Callers
nothing calls this directly
Calls
1
swiglu_fwd
Function · 0.70
Tested by
no test coverage detected