norse.torch.functional.coba_lif.CobaLIFParameters#
- class norse.torch.functional.coba_lif.CobaLIFParameters(tau_syn_exc_inv: Tensor = tensor(0.2000), tau_syn_inh_inv: Tensor = tensor(0.2000), c_m_inv: Tensor = tensor(5.), g_l: Tensor = tensor(0.2500), e_rev_I: Tensor = tensor(-100), e_rev_E: Tensor = tensor(60), v_rest: Tensor = tensor(-20), v_reset: Tensor = tensor(-70), v_thresh: Tensor = tensor(-10), method: str = 'super', alpha: float = 100.0)[source]#
Parameters of conductance based LIF neuron.
- Parameters:
- tau_syn_exc_inv (torch.Tensor): inverse excitatory synaptic input
time constant
- tau_syn_inh_inv (torch.Tensor): inverse inhibitory synaptic input
time constant
c_m_inv (torch.Tensor): inverse membrane capacitance g_l (torch.Tensor): leak conductance e_rev_I (torch.Tensor): inhibitory reversal potential e_rev_E (torch.Tensor): excitatory reversal potential v_rest (torch.Tensor): rest membrane potential v_reset (torch.Tensor): reset membrane potential v_thresh (torch.Tensor): threshold membrane potential method (str): method to determine the spike threshold
(relevant for surrogate gradients)
alpha (float): hyper parameter to use in surrogate gradient computation
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
alpha
Alias for field number 10
c_m_inv
Alias for field number 2
e_rev_E
Alias for field number 5
e_rev_I
Alias for field number 4
g_l
Alias for field number 3
method
Alias for field number 9
tau_syn_exc_inv
Alias for field number 0
tau_syn_inh_inv
Alias for field number 1
v_reset
Alias for field number 7
v_rest
Alias for field number 6
v_thresh
Alias for field number 8