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
Loading
Please sign in to comment
Uses `weakref` so that PER_GRAPH_LAYER_NAME_UIDS doesn't prevent Graphs from being garbage collected. Fixes #11273