openvino/model-optimizer/unit_tests/utils
Anton Chetverikov 9cfdad9afc
Change sort functions to fix incorrect order in port dictionaries (#7283)
* Change sort functions to fix incorrect order

* Add separate sorts for different cases

* Update sort function to correct control flow edges handling

* Refactor all sorts for dictionary ordering

* Update build_graph function for correct control_flow edges creation

* Add tests for nodes and ports sort equality

* Fix wrong port value

* Add direct conversion from bool to int

* Use .replace instead of .strip

* Add test with both control_flow and ordinary edges, refactored edges lists filling

* Refactored nodes dict filling

* Delete unused test code
2021-09-20 10:17:44 +03:00
..
test_data Moved MO unit test files to a separate directory (#5312) 2021-04-20 14:47:18 +03:00
__init__.py Moved MO unit test files to a separate directory (#5312) 2021-04-20 14:47:18 +03:00
extractors.py Moved MO unit test files to a separate directory (#5312) 2021-04-20 14:47:18 +03:00
graph.py Change sort functions to fix incorrect order in port dictionaries (#7283) 2021-09-20 10:17:44 +03:00