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

Method backward

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

Source from the content-addressed store, hash-verified

390
391 @staticmethod
392 def backward(ctx, dout):
393 x, y = ctx.saved_tensors
394 return swiglu_bwd(x, y, dout)
395
396
397class SwiGLULinearFunction(torch.autograd.Function):

Callers

nothing calls this directly

Calls 1

swiglu_bwdFunction · 0.70

Tested by

no test coverage detected