-
Notifications
You must be signed in to change notification settings - Fork 239
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
[ONNX] Fix adding output nodes in NNCFGraph #2538
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2538 +/- ##
============================================
- Coverage 91.16% 77.93% -13.23%
============================================
Files 494 494
Lines 45373 45374 +1
============================================
- Hits 41363 35363 -6000
- Misses 4010 10011 +6001
... and 104 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please, add a test.
Added test |
"0 Conv1" [id=0, type=Conv]; | ||
"1 nncf_model_input_0" [id=1, type=nncf_model_input]; | ||
"2 nncf_model_output_0" [id=2, type=nncf_model_output]; | ||
"3 nncf_model_output_1" [id=3, type=nncf_model_output]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the graph is not connected. Let's discuss offline what the impact on algorithms is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic was updated. Outputs with no parent node are not added to the NNCFGraph.
E2E ONNX - 654 passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changes
Do not add edges for the output node if it has no parents. E.g. output is put on the initializer.
Reason for changes
125248
Related tickets
125248
Tests
Checked on reproducer in the ticket