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

[tfjs-layers[ Fix Layer mem leak for 1D targets #5988

Merged
merged 4 commits into from Jan 6, 2022
Merged

Conversation

pyu10055
Copy link
Collaborator

@pyu10055 pyu10055 commented Jan 6, 2022

Fixed #5979

The memory leak happens when the target input for fit method is a 1D tensor, and the train requires evaluation split.
A reshaped the tensor will be created for the targets if the target tensor is 1D tensor, but the training will miss disposing it when eval split is required.

Also fixed the test describe predicates when flags does not existing on testEnvs object.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@pyu10055 pyu10055 merged commit 28aea94 into master Jan 6, 2022
@pyu10055 pyu10055 deleted the layer-mem-leak branch January 6, 2022 19:11
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.

Potential Bug: Tensors not being disposed of correctly
2 participants