Home
last modified time | relevance | path

Searched refs:pick_unused_port (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/contrib/distribute/python/
Dmulti_worker_test_base.py54 def pick_unused_port(): function
62 port = portpicker.pick_unused_port()
79 worker_ports = [pick_unused_port() for _ in range(num_workers)]
80 ps_ports = [pick_unused_port() for _ in range(num_ps)]
88 cluster_dict['evaluator'] = ['localhost:%s' % pick_unused_port()]
90 cluster_dict['chief'] = ['localhost:%s' % pick_unused_port()]
185 cluster_spec['chief'] = ['localhost:%s' % pick_unused_port()]
188 'localhost:%s' % pick_unused_port() for _ in range(num_workers)
192 'localhost:%s' % pick_unused_port() for _ in range(num_ps)
195 cluster_spec['evaluator'] = ['localhost:%s' % pick_unused_port()]
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dmodel_average_optimizer_test.py37 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]
38 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]
Dagn_optimizer_test.py40 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]
41 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]
Delastic_average_optimizer_test.py43 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]
44 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]
Ddrop_stale_gradient_optimizer_test.py35 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]
38 'ps': ['localhost:%s' % portpicker.pick_unused_port()]
/external/tensorflow/tensorflow/contrib/rpc/python/kernel_tests/
Drpc_op_test.py52 service_port = portpicker.pick_unused_port()
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_coordinator_test.py203 cluster_spec[CHIEF] = ["localhost:%s" % portpicker.pick_unused_port()]
206 "localhost:%s" % portpicker.pick_unused_port()
211 "localhost:%s" % portpicker.pick_unused_port() for _ in range(num_ps)
214 cluster_spec[EVALUATOR] = ["localhost:%s" % portpicker.pick_unused_port()]
/external/tensorflow/tensorflow/python/debug/lib/
Ddist_session_debug_grpc_test.py59 worker_port = portpicker.pick_unused_port()
Dgrpc_debug_test_server.py398 server_port = portpicker.pick_unused_port()
/external/python/apitools/apitools/base/protorpclite/
Dtest_util.py614 def pick_unused_port(): function
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py2679 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]
2680 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]