braintools.surrogate.slayer_grad#
- braintools.surrogate.slayer_grad(x, alpha=1.0)[source]#
Spike function with the SLAYER surrogate gradient.
See the documentation of
SlayerGradfor details.
Spike function with the SLAYER surrogate gradient.
See the documentation of SlayerGrad for details.