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

Method _next_id

tensorflow/python/framework/ops.py:3812–3817  ·  view source on GitHub ↗

Id for next Operation instance. Also increments the internal id.

(self)

Source from the content-addressed store, hash-verified

3810 return op.outputs[tf_output.index]
3811
3812 def _next_id(self):
3813 """Id for next Operation instance. Also increments the internal id."""
3814 self._check_not_finalized()
3815 with self._lock:
3816 self._next_id_counter += 1
3817 return self._next_id_counter
3818
3819 @property
3820 def _last_id(self):

Callers 1

__init__Method · 0.80

Calls 1

_check_not_finalizedMethod · 0.95

Tested by

no test coverage detected