SIM002: unused-opset-imports

Code: SIM002

Name: unused-opset-imports

Severity: info

Category: spec

Target: model

Fixable: 🔧 Yes

Message

Model imports opsets that are not used by any node.

Suggestion

Remove unused opset imports with --fix or RemoveUnusedOpsetsPass.

Details

Opset imports that are not referenced by any node in the graph are unnecessary. Removing them simplifies the model metadata.