norse.torch.functional.TsodyksMakramState

norse.torch.functional.TsodyksMakramState#

class norse.torch.functional.TsodyksMakramState(u: Tensor, x: Tensor)[source]#

State of the Tsodyks-Makram Model, note that we are tracking the input current state separately.

Parameters:

u (torch.Tensor): utilization parameter. x (torch.Tensor): fraction of remaining available resources.

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

u

Alias for field number 0

x

Alias for field number 1