aeppl.transforms.TransformValuesRewrite.apply#

TransformValuesRewrite.apply(fgraph)[source]#

Apply the rewriter to a FunctionGraph.

It may use all the methods defined by the FunctionGraph. If the GraphRewriter needs to use a certain tool, such as an InstanceFinder, it can do so in its add_requirements method.

Parameters

fgraph (FunctionGraph) –