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:291–293 ·
view source on GitHub ↗
(ctx, input)
Source
from the content-addressed store, hash-verified
289
290
@staticmethod
291
def
forward(ctx, input):
292
ctx.save_for_backward(input)
293
return
sqrelu_fwd(input)
294
295
@staticmethod
296
def
backward(ctx, grad_output):
Callers
nothing calls this directly
Calls
1
sqrelu_fwd
Function · 0.70
Tested by
no test coverage detected