MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _extend_graph

Method _extend_graph

tensorflow/python/client/session.py:1395–1397  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1393 raise type(e)(node_def, op, message)
1394
1395 def _extend_graph(self):
1396 with self._graph._session_run_lock(): # pylint: disable=protected-access
1397 tf_session.ExtendSession(self._session)
1398
1399 # The threshold to run garbage collection to delete dead tensors.
1400 _DEAD_HANDLES_THRESHOLD = 10

Callers 5

_setup_fnMethod · 0.95
make_callableMethod · 0.95
_run_fnMethod · 0.95
after_create_sessionMethod · 0.80

Calls 2

_session_run_lockMethod · 0.80
ExtendSessionMethod · 0.45

Tested by

no test coverage detected