Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
''
&
#x27;True if current server is chief worker.
141
''
&
#x27;
142
return
self._is_chief
143
144
@property
145
def
has_gpu(self):
Callers
7
_update
Method · 0.45
_initialize_multi_worker
Method · 0.45
_initialize_multi_worker
Method · 0.45
testClusterWithChief
Method · 0.45
testClusterWithoutChief
Method · 0.45
testEvaluatorIsChief
Method · 0.45
_test_minimize_loss_graph
Method · 0.45
Calls
no outgoing calls
Tested by
4
testClusterWithChief
Method · 0.36
testClusterWithoutChief
Method · 0.36
testEvaluatorIsChief
Method · 0.36
_test_minimize_loss_graph
Method · 0.36