Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ __del__
Method
__del__
tensorflow/python/ops/session_ops.py:62–64 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
60
self._auto_gc_enabled = True
61
62
def
__del__(self):
63
if
self._auto_gc_enabled:
64
self._session._register_dead_handle(self.handle)
65
66
def
__str__(self):
67
return
self._handle
Callers
nothing calls this directly
Calls
1
_register_dead_handle
Method · 0.80
Tested by
no test coverage detected