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

Method forward

W8ASpike/activations.py:220–222  ·  view source on GitHub ↗
(ctx, input, bias)

Source from the content-addressed store, hash-verified

218 @staticmethod
219 # bias is an optional argument
220 def forward(ctx, input, bias):
221 ctx.save_for_backward(input, bias)
222 return bias_gelu(input, bias)
223
224 @staticmethod
225 def backward(ctx, grad_output):

Callers

nothing calls this directly

Calls 1

bias_geluFunction · 0.70

Tested by

no test coverage detected