STDPSensorParameters

class norse.torch.functional.STDPSensorParameters(eta_p: torch.Tensor = tensor(1.), eta_m: torch.Tensor = tensor(1.), tau_ac_inv: torch.Tensor = tensor(10.), tau_c_inv: torch.Tensor = tensor(10.))[source]

Parameters of an STDP sensor as it is used for event driven plasticity rules.

Parameters:

eta_p (torch.Tensor): correlation state eta_m (torch.Tensor): anti correlation state tau_ac_inv (torch.Tensor): anti-correlation sensor time constant tau_c_inv (torch.Tensor): correlation sensor time constant

count(value, /)

Return number of occurrences of value.

eta_m: torch.Tensor

Alias for field number 1

eta_p: torch.Tensor

Alias for field number 0

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

tau_ac_inv: torch.Tensor

Alias for field number 2

tau_c_inv: torch.Tensor

Alias for field number 3