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 Cutout memory leak #2815

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Conversation

drauh
Copy link
Contributor

@drauh drauh commented Feb 25, 2023

Description

Fixes #2814

Type of change

  • Bug fix
  • New Tutorial
  • Updated or additional documentation
  • Additional Testing

Checklist:

  • I've properly formatted my code according to the guidelines
    • By running Black + Flake8
    • By running pre-commit hooks
  • This PR addresses an already submitted issue for TensorFlow Addons
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • This PR contains modifications to C++ custom-ops

How Has This Been Tested?

By running the code from the issue reproducing the memory leak, here are the outputs now:

1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.33 GB

@bot-of-gabrieldemarmiesse

@fsx950223

You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

@fsx950223 fsx950223 merged commit 7bcd402 into tensorflow:master Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak in cutout function
3 participants