Skip to content

Don't include unused inputs in ndonnx_schema when they are dropped by ndonnx.build#211

Merged
Sam Gilmour (sgilm) merged 4 commits into
mainfrom
fix-unused-inputs-schema
May 6, 2026
Merged

Don't include unused inputs in ndonnx_schema when they are dropped by ndonnx.build#211
Sam Gilmour (sgilm) merged 4 commits into
mainfrom
fix-unused-inputs-schema

Conversation

@sgilm
Copy link
Copy Markdown
Contributor

If indeed #210 is a bug, this PR adds a failing test and fixes it.

Makes sure that any inputs that are entirely dropped from the built graph with ndx.build(..., drop_unused=True) do not appear in the ndonnx_schema.

Closes #210.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@sgilm Sam Gilmour (sgilm) merged commit 6f0613a into main May 6, 2026
46 checks passed
@sgilm Sam Gilmour (sgilm) deleted the fix-unused-inputs-schema branch May 6, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unused inputs are included in ndonnx_schema metadata

2 participants