norse.torch.functional.iaf.iaf_feed_forward_step#
- norse.torch.functional.iaf.iaf_feed_forward_step(input_spikes: Tensor, state: IAFFeedForwardState, p: IAFParameters = (tensor(1.), tensor(0.), 'super', tensor(100.)), dt: float = 0.001) Tuple[Tensor, IAFFeedForwardState] [source]#
Feedforward step of an integrate-and-fire neuron, computing a single step
together with the jump condition
and transition equation
- Parameters:
input_spikes (torch.Tensor): the input spikes at the current time step state (IAFFeedForwardState): current state of the LIF neuron p (IAFParameters): parameters of a leaky integrate and fire neuron dt (float): Integration timestep to use (unused, but added for compatibility)