Home
last modified time | relevance | path

Searched refs:worker_device_pairs (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/contrib/distribute/python/
Dinput_lib_test.py38 def _create_iterator(self, input_type, dataset_fn, worker_device_pairs, argument
41 input_workers = input_lib.InputWorkers(device_map, worker_device_pairs)
63 worker_device_pairs, argument
67 devices = nest.flatten([ds for _, ds in worker_device_pairs])
69 input_type, dataset_fn, worker_device_pairs, devices, split_batch_by)
106 worker_device_pairs = [("", ["/device:CPU:0"])]
111 self._test_iterator(input_type, dataset_fn, worker_device_pairs,
119 worker_device_pairs = [("", ["/device:GPU:0", "/device:CPU:0"])]
124 self._test_iterator(input_type, dataset_fn, worker_device_pairs,
132 worker_device_pairs = [("", ["/device:GPU:0", "/device:CPU:0"])]
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib.py44 def __init__(self, device_map, worker_device_pairs=None, logical_device=0): argument
56 if worker_device_pairs is None:
57 worker_device_pairs = ((
60 self._input_worker_devices = tuple(d for d, _ in worker_device_pairs)
62 for _, f in worker_device_pairs)
Done_device_strategy.py56 worker_device_pairs = [(self._input_device, [self._device])]
59 device_map, worker_device_pairs)