MCPcopy
hub / github.com/tensorlayer/TensorLayer / is_evaluator

Method is_evaluator

tensorlayer/distributed.py:322–324  ·  view source on GitHub ↗

Returns true if this server is the evaluator server

(self)

Source from the content-addressed store, hash-verified

320 return self._master
321
322 def is_evaluator(self):
323 """Returns true if this server is the evaluator server"""
324 return self.type == 'worker' and self.num_workers == self._index
325
326 def device_fn(self):
327 """Returns the function with the specification to create the graph in this server"""

Callers 3

create_serverMethod · 0.95
load_dataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected