Commit ad20e176 authored by Daniel Rasmussen's avatar Daniel Rasmussen
Browse files

Fix memory leak when using `tf.layers`

Uses `weakref` so that PER_GRAPH_LAYER_NAME_UIDS doesn't prevent Graphs from being garbage collected.

Fixes #11273
parent fc87d911
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment