norse.torch.functional.stdp_sensor_step

norse.torch.functional.stdp_sensor_step(z_pre: torch.Tensor, z_post: torch.Tensor, state: norse.torch.functional.stdp_sensor.STDPSensorState, p: norse.torch.functional.stdp_sensor.STDPSensorParameters = STDPSensorParameters(eta_p=tensor(1.), eta_m=tensor(1.), tau_ac_inv=tensor(10.), tau_c_inv=tensor(10.)), dt: float = 0.001)norse.torch.functional.stdp_sensor.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