norse.torch.functional.STDPSensorParameters#
- class norse.torch.functional.STDPSensorParameters(eta_p: Tensor = tensor(1.), eta_m: Tensor = tensor(1.), tau_ac_inv: Tensor = tensor(10.), tau_c_inv: 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
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
eta_m
Alias for field number 1
eta_p
Alias for field number 0
tau_ac_inv
Alias for field number 2
tau_c_inv
Alias for field number 3