hxtorch.spiking.modules.synapse
Implementing SNN modules
Classes
|
Class defining bounds of a finite value range and how to deal with the bounds in simulation. :param lower: The lower bound. :param upper: The upper bound. :param device: The device, the tensors containing the bounds are transfered to. :param hardware_aware: When set to True, the saturation effect is considered in the backward pass of the simulation; Else, the backward function is set to be the identity function and torch.clamp() is used instead of a surrogate. :param surrogate: Callable that implements a surrogate function for the clamp function. Is needed in case of of a hardware aware backpropagation. |
|
|
alias of |
|
|
A kind of Tensor that is to be considered a module parameter. |
|
|
|
Base class for projections on BSS-2 |
|
|
|
Synapse layer |