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

Method is_chief

tensorflow/python/distribute/hvd_strategy.py:139–142  ·  view source on GitHub ↗

r'''True if current server is chief worker.

(self)

Source from the content-addressed store, hash-verified

137
138 @property
139 def is_chief(self):
140 r'''True if current server is chief worker.
141 '''
142 return self._is_chief
143
144 @property
145 def has_gpu(self):

Callers 7

_updateMethod · 0.45
testClusterWithChiefMethod · 0.45
testEvaluatorIsChiefMethod · 0.45

Calls

no outgoing calls

Tested by 4

testClusterWithChiefMethod · 0.36
testEvaluatorIsChiefMethod · 0.36