norse.torch.module.lif.LIFState

norse.torch.module.lif.LIFState#

class norse.torch.module.lif.LIFState(z: Tensor, v: Tensor, i: Tensor)#
__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

i

Alias for field number 2

v

Alias for field number 1

z

Alias for field number 0