Home
last modified time | relevance | path

Searched refs:_SEQUENCE_COUNTER (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py423 _SEQUENCE_COUNTER = None variable
475 global _SEQUENCE_COUNTER
476 if _SEQUENCE_COUNTER is None:
478 _SEQUENCE_COUNTER = multiprocessing.Value('i', 0)
483 _SEQUENCE_COUNTER = 0
485 if isinstance(_SEQUENCE_COUNTER, int):
486 self.uid = _SEQUENCE_COUNTER
487 _SEQUENCE_COUNTER += 1
490 with _SEQUENCE_COUNTER.get_lock():
491 self.uid = _SEQUENCE_COUNTER.value
[all …]