-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix always existing bug in model order port sorting. (#1067)
* Make sure that the order of incoming ports matches the order given by the previous layer. Updated WEST side handling to fix this and fixed typo as well and makes port model order non constraining for input ports. * Fixed all but one case for port model order and feedback nodes. * Check whether model order exists and do not sort in this case. * Removed comment for unnecessary backward edges below. * Do insertionsort to handle comparator errors. * Fixed typos in node comparator. * Always use insertion sort and more small fixes. * Sort nodes before sorting ports since in-layer feedback dummies exist. * Found the last inconsistency in port ordering. * Define all corner cases of node model order. * Use normal sorting instead of insertion sort but keep insertion sort. * Make sure that exchanging ports does not lead to bugs by using a scalar. * Readded second node sorting. I could solve this maybe by doing the inversePortProcessor after this. * Added first patch of sortbyinputmodel correctness examples. * Added correctness tests with multiple nodes. * Port model order basic concrete tests. * Nodes have to be sorted with insertion sort. * Added optimization fixme to model order port comparator. * long edge and feedback edge corner cases. * Handle unconnected ports.
- Loading branch information
1 parent
ad04950
commit 6629d35
Showing
7 changed files
with
2,667 additions
and
119 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
Oops, something went wrong.