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

Workspace::addTensor may leak memory if a Tensor name is reused #41

Open
xyzsam opened this issue Aug 9, 2020 · 0 comments
Open

Workspace::addTensor may leak memory if a Tensor name is reused #41

xyzsam opened this issue Aug 9, 2020 · 0 comments

Comments

@xyzsam
Copy link
Member

xyzsam commented Aug 9, 2020

Workspace::addTensor can blindly overwrites an existing Tensor by the same name, causing memory leaks. We should enforce that no Tensor in the Network can have the same name.

The same goes for addTiledTensor.

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

No branches or pull requests

1 participant