RemoveInitializersFromInputsPass¶

class onnx_ir.passes.common.RemoveInitializersFromInputsPass[source]¶

Remove initializers from inputs.

This pass finds all graph inputs that have a const_value and removes them from the graph.inputs list.

call(model)[source]¶

The main entry point for the pass.

Parameters:

model (Model)

Return type:

PassResult