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

Method _another_group_active

tensorflow/python/util/lock_util.py:106–108  ·  view source on GitHub ↗
(self, group_id)

Source from the content-addressed store, hash-verified

104 self._ready.release()
105
106 def _another_group_active(self, group_id):
107 return any(
108 c > 0 for g, c in enumerate(self._group_member_counts) if g != group_id)
109
110 def _validate_group_id(self, group_id):
111 if group_id < 0 or group_id >= self._num_groups:

Callers 1

acquireMethod · 0.95

Calls 1

anyFunction · 0.85

Tested by

no test coverage detected