MCPcopy Create free account
hub / github.com/alibaba/nann / as_dict

Method as_dict

tensorflow/tensorflow/python/training/server_lib.py:335–360  ·  view source on GitHub ↗

Returns a dictionary from job names to their tasks. For each job, if the task index space is dense, the corresponding value will be a list of network addresses; otherwise it will be a dictionary mapping (sparse) task indices to the corresponding addresses. Returns: A dict

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

__str__Method · 0.95
get_num_workersFunction · 0.45
uidMethod · 0.45
_count_psFunction · 0.45
_count_workerFunction · 0.45
test_uid_for_deepcopyMethod · 0.45

Calls 4

task_indicesMethod · 0.95
job_tasksMethod · 0.95
task_addressMethod · 0.95
maxFunction · 0.50