Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add purify graph pass #271

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

xiayuqing0622
Copy link
Contributor

add purify graph pass: remove node not used by output.

@xiayuqing0622 xiayuqing0622 requested a review from lynex May 19, 2021 08:35
@wenxcs
Copy link
Member

wenxcs commented May 19, 2021

Is there any sample to test this pass

@wenxcs
Copy link
Member

wenxcs commented May 26, 2021

https://github.com/microsoft/nnfusion/blob/master/src/nnfusion/core/operators/generic_op/generic_op_define/Scatter.cpp

This is an op that doesn't have output.

And I think this should be called as Dead Node Elimination( which is called as Dead Statement Elimination in compiler optmization).

@wenxcs wenxcs marked this pull request as draft March 8, 2022 06:25
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.

2 participants