Skip to content
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

Ensure signal ordering is deterministic #10

Merged
merged 1 commit into from
Sep 19, 2017
Merged

Ensure signal ordering is deterministic #10

merged 1 commit into from
Sep 19, 2017

Conversation

drasmuss
Copy link
Member

@drasmuss drasmuss commented Sep 19, 2017

Fixes #9

The problem was that we were ordering signals based on their label, so for networks containing objects with the same name (e.g., the two Nodes with label "square" in the Product network) that order was non-deterministic.

This changes it so that we sort signals based on their position in the op plan, which should be deterministic for a given Network.

@drasmuss drasmuss merged commit ef85850 into master Sep 19, 2017
@drasmuss drasmuss deleted the fix_reload branch September 19, 2017 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant