Home | History | Annotate | Download | only in training

Lines Matching refs:protocol

29 def _make_server_def(server_or_cluster_def, job_name, task_index, protocol,
31 """Creates a `tf.train.ServerDef` protocol buffer.
35 `tf.train.ClusterDef` protocol buffer, or a
44 protocol: (Optional.) Specifies the protocol to be used by the server.
64 if protocol is not None:
65 server_def.protocol = protocol
85 if protocol is None:
86 protocol = "grpc"
90 job_name=job_name, task_index=task_index, protocol=protocol)
112 protocol=None,
117 The `job_name`, `task_index`, and `protocol` arguments are optional, and
122 `tf.train.ClusterDef` protocol buffer, or a
131 protocol: (Optional.) Specifies the protocol to be used by the server.
144 job_name, task_index, protocol, config)
178 A `tf.train.ServerDef` protocol buffer that describes the configuration
222 return Server({"local": ["localhost:0"]}, protocol="grpc", config=config,
265 protocol buffer.
299 "`ClusterDef` protocol buffer")
344 """Returns a `tf.train.ClusterDef` protocol buffer based on this cluster."""