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

Fix TI deserialization #4285

Conversation

pelszkow
Copy link
Contributor

@pelszkow pelszkow commented Feb 11, 2021

This change is required because we can't depend on xml node sorting/ordering algorithm. Sorting algo start building nodes ids order based on Results nodes which might be serialize in different order than it was read from xml (xml order won't be preserve).

We have to have some mechanism for renumerate input (index/order) and store indexes in In/Out Description.

Ticket 44194.

@pelszkow pelszkow added DO NOT MERGE WIP work in progress labels Feb 11, 2021
@jdanieck jdanieck changed the title looks promise Fix TI deserialization Feb 11, 2021
…is reported during inserting to function

Xml parameter/result order is irrelevant now.
@pelszkow pelszkow force-pushed the fix/44194/Visitor_API_is_not_suported_in_TI_and_Loop branch from 09c028e to 036e13a Compare February 11, 2021 12:30
@pelszkow pelszkow removed DO NOT MERGE WIP work in progress labels Feb 11, 2021
@pelszkow pelszkow force-pushed the fix/44194/Visitor_API_is_not_suported_in_TI_and_Loop branch from 1f1d83d to a796a2a Compare February 11, 2021 14:01
@pelszkow pelszkow requested a review from ilyachur February 11, 2021 14:01
@pelszkow pelszkow requested a review from ilyachur February 12, 2021 06:46
@pelszkow pelszkow marked this pull request as ready for review February 12, 2021 06:48
@pelszkow pelszkow requested a review from a team February 12, 2021 06:48
@ilyachur
Copy link
Contributor

@pelszkow Could you please add tests for your changes? I think we need to have tests which will show improvements. Thank you!

@pelszkow pelszkow requested a review from a team February 12, 2021 10:43
@pelszkow pelszkow force-pushed the fix/44194/Visitor_API_is_not_suported_in_TI_and_Loop branch from 43fe35a to a389e66 Compare February 12, 2021 10:44
@pelszkow
Copy link
Contributor Author

pelszkow commented Feb 12, 2021

@pelszkow Could you please add tests for your changes? I think we need to have tests which will show improvements. Thank you!

@ilyachur , Done

@pelszkow pelszkow closed this Feb 12, 2021
@pelszkow pelszkow reopened this Feb 12, 2021
@ilyachur ilyachur merged commit 3dbecf0 into openvinotoolkit:master Feb 12, 2021
@pelszkow pelszkow deleted the fix/44194/Visitor_API_is_not_suported_in_TI_and_Loop branch February 17, 2021 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants