ONNX033: function-opset-mismatch

Code: ONNX033

Name: function-opset-mismatch

Severity: error

Category: spec

Target: function

Fixable: No

Message

Function opset import is incompatible with the model’s opset import.

Suggestion

Align the function’s opset imports with those of the model.

Details

The opset versions imported by a function must be compatible with the opset versions imported by the model that contains it.