norse.torch.functional.stdp_sensor_step

norse.torch.functional.stdp_sensor_step#

norse.torch.functional.stdp_sensor_step(z_pre: Tensor, z_post: Tensor, state: STDPSensorState, p: STDPSensorParameters = (tensor(1.), tensor(1.), tensor(10.), tensor(10.)), dt: float = 0.001) STDPSensorState[source]#

Event driven STDP rule.

Parameters:

z_pre (torch.Tensor): pre-synaptic spikes z_post (torch.Tensor): post-synaptic spikes s (STDPSensorState): state of the STDP sensor p (STDPSensorParameters): STDP sensor parameters dt (float): integration time step