This PR modifies the gen_processing_models function in onnxruntime_extensions/cvt.py to explicitly include the opset_version argument when calling make_onnx_model for both pre-processing and post-processing graphs.
Previously, the function only generated models if pre_g or post_g existed, without specifying the opset version. This update ensures that generated ONNX models adhere to the desired opset level, improving compatibility and deployment options.
This PR modifies the
gen_processing_models
function inonnxruntime_extensions/cvt.py
to explicitly include theopset_version
argument when callingmake_onnx_model
for both pre-processing and post-processing graphs.Previously, the function only generated models if
pre_g
orpost_g
existed, without specifying the opset version. This update ensures that generated ONNX models adhere to the desired opset level, improving compatibility and deployment options.