norse.torch.module.izhikevich.IzhikevichState#
- class norse.torch.module.izhikevich.IzhikevichState(v: Tensor, u: Tensor)[source]#
State of a Izhikevich neuron
- Parameters:
v (torch.Tensor): membrane potential u (torch.Tensor): membrane recovery variable
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
u
Alias for field number 1
v
Alias for field number 0