Skip to content

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
Contributor

wenxcs commented May 19, 2021

Is there any sample to test this pass

@wenxcs
Copy link
Contributor

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.

3 participants