-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed to dump the ignored_scope in quantization more gracefully (#2578)
### Changes In the case of dumping parameters of `IgnoredScope` in quantization: - The field `validate` isn't dumped - If the values corresponding to the rest of the fields are empty (`[]`) they aren't dumped - In case the `IgnoredScope` is passed blank, then only `<ignored_scope value="[]">` is dumped ### Related tickets Ticket: 129593 Fixes Issue: #2564 ### Tests The test case, [`tests/openvino/native/quantization/test_quantization_pipeline.py::test_meta_information`](https://github.com/openvinotoolkit/nncf/blob/86ea8f68636b3fec84339c2cdc1969227f647f6e/tests/openvino/native/quantization/test_quantization_pipeline.py#L97) has been modified to validate the new changes. To protect code from regressions.
- Loading branch information
1 parent
7985126
commit 3586e58
Showing
2 changed files
with
102 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters