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

Method _session_run_lock

tensorflow/python/framework/ops.py:5162–5167  ·  view source on GitHub ↗

Returns a lock to guard code for Session.run. See the comment for self._group_lock for more info.

(self)

Source from the content-addressed store, hash-verified

5160 return self._group_lock.group(_MUTATION_LOCK_GROUP)
5161
5162 def _session_run_lock(self):
5163 """Returns a lock to guard code for Session.run.
5164
5165 See the comment for self._group_lock for more info.
5166 """
5167 return self._group_lock.group(_SESSION_RUN_LOCK_GROUP)
5168
5169
5170# TODO(agarwal): currently device directives in an outer eager scope will not

Callers 1

_extend_graphMethod · 0.80

Calls 1

groupMethod · 0.45

Tested by

no test coverage detected