Skip to main content

apply_constant_folding

Function apply_constant_folding 

Source
pub fn apply_constant_folding(
    graph: &mut EinsumGraph,
    constants: &ConstantPropagationResult,
) -> Result<FoldingStats, IrError>
Expand description

Apply constant folding transformations to a graph.