Sigmoid# class braincore.surrogate.Sigmoid(alpha=4.0)[source]# Spike function with the sigmoid-shaped surrogate gradient. See also sigmoid surrogate_fun(x)[source]# The surrogate function. surrogate_grad(x)[source]# The gradient function of the surrogate function.