aeppl.transforms.TransformValuesMapping#

class aeppl.transforms.TransformValuesMapping(values_to_transforms)[source]#

A Feature that maintains a map between value variables and their transforms.

Methods

TransformValuesMapping.__init__(...)

TransformValuesMapping.clone()

Create a clone that can be attached to a new FunctionGraph.

TransformValuesMapping.on_attach(fgraph)

Called by FunctionGraph.attach_feature, the method that attaches the feature to the FunctionGraph.

TransformValuesMapping.on_change_input(...)

Called whenever node.inputs[i] is changed from var to new_var.

TransformValuesMapping.on_detach(fgraph)

Called by FunctionGraph.remove_feature.

TransformValuesMapping.on_import(fgraph, ...)

Called whenever a node is imported into fgraph, which is just before the node is actually connected to the graph.

TransformValuesMapping.on_prune(fgraph, ...)

Called whenever a node is pruned (removed) from the fgraph, after it is disconnected from the graph.

TransformValuesMapping.orderings(fgraph)

Called by FunctionGraph.toposort.