MCPcopy Create free account
hub / github.com/BICLab/SpikingBrain-7B / forward

Method forward

W8ASpike/activations.py:174–176  ·  view source on GitHub ↗
(ctx, x)

Source from the content-addressed store, hash-verified

172
173 @staticmethod
174 def forward(ctx, x):
175 ctx.save_for_backward(x)
176 return swish_fwd(x)
177
178 @staticmethod
179 def backward(ctx, dout):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected