MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / is_master

Method is_master

tensorlayer/distributed.py:318–320  ·  view source on GitHub ↗

Returns true if this server is the master server

(self)

Source from the content-addressed store, hash-verified

316 return self.type == 'worker'
317
318 def is_master(self):
319 """Returns true if this server is the master server"""
320 return self._master
321
322 def is_evaluator(self):
323 """Returns true if this server is the evaluator server"""

Callers 3

run_workerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected