LogTailedRelu#

class braincore.surrogate.LogTailedRelu(alpha=0.0)[source]#

Judge spiking state with the Log-tailed ReLU function.

See also

log_tailed_relu

surrogate_fun(x)[source]#

The surrogate function.

surrogate_grad(x)[source]#

The gradient function of the surrogate function.