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

Function create_tf_config

tensorlayer/cli/train.py:96–103  ·  view source on GitHub ↗
(cluster_spec, task_type, task_index)

Source from the content-addressed store, hash-verified

94
95
96def create_tf_config(cluster_spec, task_type, task_index):
97 return {
98 'cluster': cluster_spec,
99 'task': {
100 'type': task_type,
101 'index': task_index
102 },
103 }
104
105
106def create_tf_jobs(cluster_spec, prog, args):

Callers 1

create_tf_jobsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…