(cluster_spec, task_type, task_index)
| 94 | |
| 95 | |
| 96 | def 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 | |
| 106 | def create_tf_jobs(cluster_spec, prog, args): |
no outgoing calls
no test coverage detected
searching dependent graphs…