Arctan#

class braincore.surrogate.Arctan(alpha=1.0)[source]#

Judge spiking state with an arctan function.

See also

arctan

surrogate_fun(x)[source]#

The surrogate function.

surrogate_grad(x)[source]#

The gradient function of the surrogate function.