norse.torch.module.lif.LIFParameters

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__()

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

alpha

Alias for field number 6

method

Alias for field number 5

tau_mem_inv

Alias for field number 1

tau_syn_inv

Alias for field number 0

v_leak

Alias for field number 2

v_reset

Alias for field number 4

v_th

Alias for field number 3