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

Function _make_server_def

tensorflow/tensorflow/python/training/server_lib.py:30–94  ·  view source on GitHub ↗

Creates a `tf.train.ServerDef` protocol buffer. Args: server_or_cluster_def: A `tf.train.ServerDef` or `tf.train.ClusterDef` protocol buffer, or a `tf.train.ClusterSpec` object, describing the server to be defined and/or the cluster of which it is a member. job_name: (Optional

(server_or_cluster_def, job_name, task_index, protocol,
                     config)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.85

Calls 4

task_indicesMethod · 0.95
as_cluster_defMethod · 0.95
ClusterSpecClass · 0.85
TypeErrorFunction · 0.85

Tested by

no test coverage detected