NodeState#

class liesel.liesel.types.NodeState(value: Any, log_prob: Any)[source]#

Bases: NamedTuple

The state of a node as a named tuple.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

log_prob

The log-probability of the node.

value

The value of the node.