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

Function _get_shared_name

tensorflow/python/ops/nccl_ops.py:254–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252
253
254def _get_shared_name():
255 global _shared_name_counter
256
257 with _module_lock:
258 val = _shared_name_counter
259 _shared_name_counter += 1
260 return 'c%s' % val
261
262
263def _check_device(tensor, expected=None):

Callers 1

_apply_all_reduceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected