Skip to content

Remove identity nodes with output forking#158

Merged
maltanar merged 2 commits intomainfrom
feature/remove_forked_identity
Dec 6, 2024
Merged

Remove identity nodes with output forking#158
maltanar merged 2 commits intomainfrom
feature/remove_forked_identity

Conversation

@maltanar
Copy link
Collaborator

@maltanar maltanar commented Dec 6, 2024

Previously, RemoveIdentityOps did not touch identity ops with forking outputs by excluding such nodes with a conditional. This PR removes that, and adds output forking to the corresponding test to ensure that identity nodes with forking outputs are removed correctly. These tests (in combination with all existing cases in the remove identity test) pass successfully. Example output-forked identity graph follows.

Before:
image

After:
image

@maltanar maltanar merged commit d9269a9 into main Dec 6, 2024
@maltanar maltanar deleted the feature/remove_forked_identity branch December 6, 2024 14:32
@maltanar maltanar added this to the v0.4.0 milestone Dec 20, 2024
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.

1 participant