braintools.surrogate.arctan

Contents

braintools.surrogate.arctan#

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

Spike function with the arctangent surrogate gradient.

See the documentation of Arctan for details.