braintools.surrogate.inv_square_grad#
- braintools.surrogate.inv_square_grad(x, alpha=100.0)[source]#
Spike function with the inverse-square surrogate gradient.
See the documentation of
InvSquareGradfor details.
Spike function with the inverse-square surrogate gradient.
See the documentation of InvSquareGrad for details.