norse.torch.functional.stp_step#
- norse.torch.functional.stp_step(z: Tensor, s: TsodyksMakramState, p: TsodyksMakramParameters, dt: float = 0.001) Tuple[Tensor, TsodyksMakramState] [source]#
Euler integration step for Tsodyks Makram model of STP.
Reference: http://www.scholarpedia.org/article/Short-term_synaptic_plasticity
- Parameters:
z (torch.Tensor): Input spikes s (TsodyksMakramState): State of the Tsodyks-Makram model p (TsodyksMakramParameters): Parameters of the Tsodyks-Makram model dt (float): Euler integration timestep