PiecewiseLeakyRelu# class braincore.surrogate.PiecewiseLeakyRelu(c=0.01, w=1.0)[source]# Judge spiking state with a piecewise leaky relu function. See also piecewise_leaky_relu surrogate_fun(x)[source]# The surrogate function. surrogate_grad(x)[source]# The gradient function of the surrogate function.