We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec661aa commit a57fc86Copy full SHA for a57fc86
onnxscript/ir/passes/common/version_converter.py
@@ -81,7 +81,7 @@ def _partial_convert_version(proto: onnx.ModelProto) -> onnx.ModelProto:
81
converted_proto = _c_api_utils.call_onnx_api(
82
func=_partial_convert_version, model=model
83
)
84
- except Exception as e:
+ except Exception as e: # pylint: disable=broad-exception-caught
85
logger.warning(
86
"Failed to convert the model to the target version %d using the ONNX C API. "
87
"The model was not modified",
0 commit comments