braintools.surrogate.nonzero_sign_log#
- braintools.surrogate.nonzero_sign_log(x, alpha=1.0)[source]#
Spike function with the nonzero sign log surrogate gradient.
See the documentation of
NonzeroSignLogfor details.
Spike function with the nonzero sign log surrogate gradient.
See the documentation of NonzeroSignLog for details.