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, the BijectorCalculator, 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

inputs

The inputs of the node component.

jaxified

Whether JAX NumPy is enabled for the node component.