CheckerPass¶

class onnx_ir.passes.common.CheckerPass(full_check=False, skip_opset_compatibility_check=False, check_custom_domain=False)[source]¶

Run onnx checker on the model.

Parameters:
  • full_check (bool)

  • skip_opset_compatibility_check (bool)

  • check_custom_domain (bool)

property in_place: Literal[True]¶

This pass does not create a new model.

property changes_input: Literal[False]¶

This pass does not change the input model.

call(model)[source]¶

Run the onnx checker on the model.

Parameters:

model (Model)

Return type:

PassResult