Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/data/experimental/service/
Dserver_lib_test.py41 def pick_unused_port(): function
51 port = portpicker.pick_unused_port()
68 port = pick_unused_port()
105 port = pick_unused_port()
/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_test_base.py69 def pick_unused_port(): function
78 port = portpicker.pick_unused_port()
102 worker_ports = [pick_unused_port() for _ in range(num_workers)]
103 ps_ports = [pick_unused_port() for _ in range(num_ps)]
111 cluster_dict['evaluator'] = ['localhost:%s' % pick_unused_port()]
113 cluster_dict[chief_name] = ['localhost:%s' % pick_unused_port()]
423 cluster_spec['chief'] = ['localhost:%s' % pick_unused_port()]
426 'localhost:%s' % pick_unused_port() for _ in range(num_workers)
430 'localhost:%s' % pick_unused_port() for _ in range(num_ps)
433 cluster_spec['evaluator'] = ['localhost:%s' % pick_unused_port()]
Dparameter_server_strategy_v2_test.py434 "localhost:%d" % multi_worker_test_base.pick_unused_port()
445 "localhost:%d" % multi_worker_test_base.pick_unused_port()
456 "localhost:%d" % multi_worker_test_base.pick_unused_port()
467 "localhost:%d" % multi_worker_test_base.pick_unused_port()
477 chief_ports = [multi_worker_test_base.pick_unused_port() for _ in range(3)]
492 "localhost:%d" % multi_worker_test_base.pick_unused_port()
504 "localhost:%d" % multi_worker_test_base.pick_unused_port()
Ddistribute_coordinator_test.py207 cluster_spec[CHIEF] = ["localhost:%s" % portpicker.pick_unused_port()]
210 "localhost:%s" % portpicker.pick_unused_port()
215 "localhost:%s" % portpicker.pick_unused_port() for _ in range(num_ps)
218 cluster_spec[EVALUATOR] = ["localhost:%s" % portpicker.pick_unused_port()]
/external/tensorflow/tensorflow/python/profiler/
Dprofiler_client_test.py33 test_port = portpicker.pick_unused_port()
44 test_port = portpicker.pick_unused_port()
/external/tensorflow/tensorflow/python/distribute/coordinator/
Dmetric_utils_test.py45 'localhost:%d' % multi_worker_test_base.pick_unused_port()
Dfault_tolerance_test.py116 "localhost:%d" % multi_worker_test_base.pick_unused_port()
Dcluster_coordinator_test.py436 'localhost:%d' % multi_worker_test_base.pick_unused_port()
/external/tensorflow/tensorflow/python/keras/utils/
Ddataset_creator_test.py56 "localhost:%d" % multi_worker_test_base.pick_unused_port()
/external/tensorflow/tensorflow/python/profiler/integration_test/
Dprofiler_api_test.py122 port = portpicker.pick_unused_port()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_backend_independent_test.py140 port = 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.py619 def pick_unused_port(): function
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Ddata_service_ops_ft_test.py234 dispatcher_port = portpicker.pick_unused_port()
/external/tensorflow/tensorflow/python/keras/distribute/
Dparameter_server_training_test.py69 "localhost:%d" % multi_worker_test_base.pick_unused_port()
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py3346 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]
3347 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]