TransientIdentity#
- class liesel.model.nodes.TransientIdentity(_input, _name='')[source]#
Bases:
TransientCalc
A transient identity node that does not cache its value.
Essentially, this node “forwards” the value of its input to its outputs.
Methods
add_inputs
(*inputs, **kwinputs)Adds non-keyword and keyword input nodes to the existing ones.
Returns all non-keyword and keyword input nodes as a unique tuple.
Returns all output nodes as a unique tuple.
Clears the state of the node.
Flags the node and its recursive outputs as outdated.
set_inputs
(*inputs, **kwinputs)Sets the non-keyword and keyword input nodes.
update
()Does nothing.
Attributes
The wrapped function.
The groups that this node is a part of.
The non-keyword input nodes.
The keyword input nodes.
The model the node is part of.
The name of the node.
Whether the node needs a seed / PRNG key.
Whether the node is outdated.
The output nodes.
The state of the node with the value
None
.The value of the node.
The variable the node is part of.
Whether the node should be monitored by an inference algorithm.