Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BICLab/SpikingBrain-7B
/ forward
Method
forward
hf_7B_model/activations.py:31–33 ·
view source on GitHub ↗
(ctx, x)
Source
from the content-addressed store, hash-verified
29
30
@staticmethod
31
def
forward(ctx, x):
32
ctx.save_for_backward(x)
33
return
sigmoid_fwd(x)
34
35
@staticmethod
36
def
backward(ctx, dout):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected