SIM001: unused-functions

Code: SIM001

Name: unused-functions

Severity: info

Category: spec

Target: model

Fixable: 🔧 Yes

Message

Model contains functions that are not referenced by any node.

Suggestion

Remove unused functions with --fix or RemoveUnusedFunctionsPass.

Details

Functions defined in the model that are not called by any node in the graph or other functions are dead code. Removing them reduces model size and improves clarity.