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 outputs of Sequences and Maps exposure. #5743

Merged
merged 5 commits into from Nov 11, 2020

Conversation

yuslepukhin
Copy link
Member

Description:
Make sure that all OrtValues are properly disposed of. This includes map and sequence ortvalues as well as sequence elements that are currently leaked as the DisposableList is currently assigned to NamedOnnxValue member which does not dispose anything.

Motivation and Context

snnn
snnn previously approved these changes Nov 10, 2020
@hariharans29
Copy link
Member

hariharans29 commented Nov 10, 2020

Are existing tests already covering this ? #Resolved

  Remove transfer of ownership.
  Make sure RunWithBingind calls the right function.
@yuslepukhin
Copy link
Member Author

Yes, I have just added a few more conditions


In reply to: 724948049 [](ancestors = 724948049)

RyanUnderhill
RyanUnderhill previously approved these changes Nov 10, 2020
hariharans29
hariharans29 previously approved these changes Nov 10, 2020
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.

None yet

4 participants