NodeCalculator
NodeCalculator#
- class liesel.liesel.nodes.NodeCalculator(*args, **kwargs)[source]#
Bases:
liesel.liesel.nodes.NodeComponent
An abstract value calculator of a node.
Computes the value of a node from its inputs. Superclass of the
AdditionCalculator
, theBijectorCalculator
, etc.Methods
jaxify
()Enables JAX NumPy for the node component.
unjaxify
()Disables JAX NumPy for the node component.
value
()Calculates the value of a node from its inputs and returns it.
Attributes
The inputs of the node component.
Whether JAX NumPy is enabled for the node component.