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

Method backward

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

Source from the content-addressed store, hash-verified

34
35 @staticmethod
36 def backward(ctx, dout):
37 x, = ctx.saved_tensors
38 return sigmoid_bwd(x, dout)
39
40
41sigmoid = SigmoidFunction.apply

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected