braintools.surrogate.q_pseudo_spike#
- braintools.surrogate.q_pseudo_spike(x, alpha=2.0)[source]#
Spike function with the q-PseudoSpike surrogate gradient.
See the documentation of
QPseudoSpikefor details.
Spike function with the q-PseudoSpike surrogate gradient.
See the documentation of QPseudoSpike for details.