Skip to content

Optimize away Passthrough nodes#2896

Merged
joeyballentine merged 1 commit intochaiNNer-org:mainfrom
RunDevelopment:issue2261
May 22, 2024
Merged

Optimize away Passthrough nodes#2896
joeyballentine merged 1 commit intochaiNNer-org:mainfrom
RunDevelopment:issue2261

Conversation

@RunDevelopment
Copy link
Member

Fixes #2261.

Passthrough nodes with a single input will now be removed by the optimizer.


Other changes:

  • I added nodes_with_schema_id to make node-specific optimizations easier to write.

@joeyballentine joeyballentine merged commit 07db5bc into chaiNNer-org:main May 22, 2024
@RunDevelopment RunDevelopment deleted the issue2261 branch May 22, 2024 10:40
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.

Compiler optimization: remove Pass Through nodes

2 participants