LIParameters

class norse.torch.module.leaky_integrator.LIParameters(tau_syn_inv: torch.Tensor = tensor(200.), tau_mem_inv: torch.Tensor = tensor(100.), v_leak: torch.Tensor = tensor(0.))[source]

Parameters of a leaky integrator

Parameters:

tau_syn_inv (torch.Tensor): inverse synaptic time constant tau_mem_inv (torch.Tensor): inverse membrane time constant v_leak (torch.Tensor): leak potential

count(value, /)

Return number of occurrences of value.

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

Return first index of value.

Raises ValueError if the value is not present.

tau_mem_inv: torch.Tensor

Alias for field number 1

tau_syn_inv: torch.Tensor

Alias for field number 0

v_leak: torch.Tensor

Alias for field number 2