norse.torch.module.lif.LIFParameters#
- class norse.torch.module.lif.LIFParameters(tau_syn_inv: Tensor = tensor(200.), tau_mem_inv: Tensor = tensor(100.), v_leak: Tensor = tensor(0.), v_th: Tensor = tensor(1.), v_reset: Tensor = tensor(0.), method: str = 'super', alpha: float = tensor(100.))#
- __init__()#
Methods
__init__()bio_default()broadcast(template)Broadcasts a state tensor according to a given template, returning a tensor of the same shape on the same device.
count(value, /)Return number of occurrences of value.
cpu()cuda()float()index(value[, start, stop])Return first index of value.
int()to(device)Attributes
alphaAlias for field number 6
methodAlias for field number 5
tau_mem_invAlias for field number 1
tau_syn_invAlias for field number 0
v_leakAlias for field number 2
v_resetAlias for field number 4
v_thAlias for field number 3