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

Method backward

W8ASpike/activations.py:179–181  ·  view source on GitHub ↗
(ctx, dout)

Source from the content-addressed store, hash-verified

177
178 @staticmethod
179 def backward(ctx, dout):
180 x, = ctx.saved_tensors
181 return swish_bwd(x, dout)
182
183
184swish = SwishFunction.apply

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected