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

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


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

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

u: torch.Tensor

Alias for field number 0

x: torch.Tensor

Alias for field number 1