braintools.surrogate.erf

Contents

braintools.surrogate.erf#

braintools.surrogate.erf(x, alpha=1.0)[source]#

Spike function with the error function surrogate gradient.

See the documentation of ERF for details.