brainpy.math.surrogate
: Surrogate Gradient Functions#
The base surrograte gradient function. |
|
|
Spike function with the sigmoid-shaped surrogate gradient. |
|
Spike function with the sigmoid-shaped surrogate gradient. |
|
Judge spiking state with a piecewise quadratic function. |
|
Judge spiking state with a piecewise quadratic function [1]_ [2]_ [3]_ [4]_ [5]_. |
|
Judge spiking state with a piecewise exponential function. |
|
Judge spiking state with a piecewise exponential function [1]_. |
|
Judge spiking state with a soft sign function. |
|
Judge spiking state with a soft sign function. |
|
Judge spiking state with an arctan function. |
|
Judge spiking state with an arctan function. |
|
Judge spiking state with a nonzero sign log function. |
|
Judge spiking state with a nonzero sign log function. |
|
Judge spiking state with an erf function. |
|
|
|
Judge spiking state with a piecewise leaky relu function. |
|
Judge spiking state with a piecewise leaky relu function [1]_ [2]_ [3]_ [4]_ [5]_ [6]_ [7]_ [8]_. |
|
Judge spiking state with a squarewave fourier series. |
|
Judge spiking state with a squarewave fourier series. |
|
Judge spiking state with the S2NN surrogate spiking function. |
|
Judge spiking state with the S2NN surrogate spiking function [1]_. |
|
Judge spiking state with the q-PseudoSpike surrogate function. |
|
Judge spiking state with the q-PseudoSpike surrogate function [1]_. |
|
Judge spiking state with the Leaky ReLU function. |
|
Judge spiking state with the Leaky ReLU function. |
|
Judge spiking state with the Log-tailed ReLU function. |
|
Judge spiking state with the Log-tailed ReLU function [1]_. |
|
Judge spiking state with the ReLU gradient function. |
|
Spike function with the ReLU gradient function [1]_. |
|
Judge spiking state with the Gaussian gradient function. |
|
Spike function with the Gaussian gradient function [1]_. |
|
Judge spiking state with the inverse-square surrogate gradient function. |
|
Spike function with the inverse-square surrogate gradient. |
|
Judge spiking state with the multi-Gaussian gradient function. |
|
Spike function with the multi-Gaussian gradient function [1]_. |
|
Judge spiking state with the slayer surrogate gradient function. |
|
Spike function with the slayer surrogate gradient function. |