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
iAlias for field number 2
vAlias for field number 1
zAlias for field number 0