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

[Bug fixed] Memory leak in tensor_array_to_tensor, test=release/1.5 #19380

Merged

Conversation

Shixiaowei02
Copy link
Contributor

[Cherry-pick commit e37d8c4]

A memory leak has occurred in tensor_array_to_tensor because of the temporary scope. This PR fixes this issue.

test=release/1.5

Copy link
Contributor

@NHZlX NHZlX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Shixiaowei02 Shixiaowei02 merged commit c328a9e into PaddlePaddle:release/1.5 Aug 26, 2019
@Shixiaowei02 Shixiaowei02 deleted the 1.5_fix/mem-leak branch August 26, 2019 02: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.

2 participants