basic_constant_propagation

onnxscript.optimizer.basic_constant_propagation(nodes: Iterable[Node]) None[source]

Performs basic constant propagation for a sequence of nodes.

Just marks the output values of Constant op nodes with their const_value.