hxtorch.spiking.functional.superspike
Surrograte gradient for SuperSpike. Basically reimplemented from: https://github.com/norse/norse/blob/18cd8aa256c3e7b5a28a852f5e928b104bc637fc/norse/torch/functional/superspike.py#L33
Classes
|
Define Surrogate Gradient ‘SuperSpike’ (negative side of Fast Sigmoid) See: https://arxiv.org/abs/1705.11146 |
Functions
-
hxtorch.spiking.functional.superspike.
superspike_func
(input: torch.Tensor, alpha: float) → torch.Tensor