Sequential¶

class onnx_ir.passes.Sequential(*passes: PassBase)¶

Run a sequence of passes in order.

call(model: Model) PassResult[source]¶

The main entry point for the pass.

property changes_input: bool¶

Whether the pass modifies input model.

property in_place: bool¶

Whether the pass modifies the model in place and returns it.

If True, the pass will return the same model object that was passed in. If False, the pass will return a new model object.