Home
last modified time | relevance | path

Searched refs:destinations (Results 1 – 25 of 98) sorted by relevance

1234

/external/tensorflow/tensorflow/python/distribute/
Dcross_device_ops.py40 def check_destinations(destinations): argument
50 if isinstance(destinations, resource_variable_ops.ResourceVariable):
51 return bool(destinations.device)
52 return bool(destinations)
55 def validate_destinations(destinations): argument
56 if not isinstance(destinations,
68 if not check_destinations(destinations):
72 def reduce_non_distributed_value(reduce_op, device_map, value, destinations): argument
88 validate_destinations(destinations)
95 return simple_broadcast(value, destinations)
[all …]
Dparameter_server_strategy.py283 def _broadcast_to(self, tensor, destinations): argument
291 if not cross_device_ops_lib.check_destinations(destinations):
293 destinations = values.LogicalDeviceSpec(
295 return self._cross_device_ops.broadcast(tensor, destinations)
368 def _verify_destinations_not_different_worker(self, destinations): argument
371 if destinations is None:
373 for d in cross_device_ops_lib.get_devices_from(destinations):
380 def _reduce_to(self, reduce_op, value, destinations): argument
381 self._verify_destinations_not_different_worker(destinations)
385 reduce_op, self._device_map, value, destinations)
[all …]
Ddistribute_lib.py1014 def broadcast_to(self, tensor, destinations): argument
1025 assert destinations is not None # from old strategy.broadcast()
1028 assert not isinstance(destinations, (list, tuple))
1029 return self._broadcast_to(tensor, destinations)
1031 def _broadcast_to(self, tensor, destinations): argument
1139 def reduce_to(self, reduce_op, value, destinations): argument
1155 assert not isinstance(destinations, (list, tuple))
1159 return self._reduce_to(reduce_op, value, destinations)
1161 def _reduce_to(self, reduce_op, value, destinations): argument
1182 self.reduce_to(reduce_op, t, destinations=v)
[all …]
Done_device_strategy.py93 def _broadcast_to(self, tensor, destinations): argument
94 del destinations
146 def _reduce_to(self, reduce_op, value, destinations): argument
147 del reduce_op, destinations
Dmirrored_strategy.py648 def _broadcast_to(self, tensor, destinations): argument
657 if not destinations:
659 destinations = values.LogicalDeviceSpec(
661 return self._get_cross_device_ops().broadcast(tensor, destinations)
694 def _reduce_to(self, reduce_op, value, destinations): argument
705 reduce_op, self._device_map, value, destinations)
707 reduce_op, value, destinations=destinations)
Dcollective_all_reduce_strategy.py430 def _reduce_to(self, reduce_op, value, destinations): argument
449 reduce_op, self._device_map, value, destinations)
451 reduce_op, value, destinations=destinations)
Dtpu_strategy.py441 def _reduce_to(self, reduce_op, value, destinations): argument
457 reduce_op, self._device_map, value, destinations)
459 devices = cross_device_ops_lib.get_devices_from(destinations)
522 def _broadcast_to(self, tensor, destinations): argument
523 del destinations
/external/tensorflow/tensorflow/contrib/distribute/python/
Dcross_device_ops_test.py150 for destinations in all_destinations:
155 destinations=destinations),
156 _fake_mirrored(mean, destinations))
161 destinations=destinations),
162 _fake_mirrored(mean_2, destinations))
166 destinations=destinations),
167 _fake_mirrored(mean * len(devices), destinations))
172 destinations=destinations),
173 _fake_mirrored(mean_2 * len(devices), destinations))
195 for destinations in all_destinations:
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Dsource_remote.py104 def _send_call_tracebacks(destinations, argument
136 if not isinstance(destinations, list):
137 destinations = [destinations]
139 destinations = [
142 for dest in destinations]
171 for destination in destinations:
188 def send_graph_tracebacks(destinations, argument
208 destinations, origin_stack, is_eager_execution=False, call_key=run_key,
212 def send_eager_tracebacks(destinations, argument
225 destinations, origin_stack, is_eager_execution=True,
/external/gemmlowp/meta/generators/
Dneon_emitter.py407 def EmitVLoadA(self, load_no, load_type, destinations, source): argument
409 '{%s}' % ', '.join(_ExpandQuads(destinations)), source)
414 destinations, argument
418 destinations = _ExpandQuads(destinations)
419 if len(destinations) * 64 < bits_to_load:
421 (len(destinations), bits_to_load))
425 self.EmitVLoadA(1, 32, destinations[:4],
428 destinations = destinations[4:]
430 self.EmitVLoadA(1, 32, destinations[:3],
433 destinations = destinations[3:]
[all …]
Dneon_emitter_64.py810 def EmitVLoadA(self, load_no, load_type, destinations, source): argument
813 [_LoadStoreSize(destination) for destination in destinations]) / 8
814 self.EmitVLoadAPostIncrement(load_no, load_type, destinations, source,
817 self.EmitVLoadAPostIncrement(load_no, load_type, destinations, source,
820 def EmitVLoadAPostIncrement(self, load_no, load_type, destinations, source, argument
823 if len(destinations) == 1 and destinations[0].lane is -1:
824 destination = '{%s}' % _AppendType(load_type, destinations[0])
831 destination_list = _RegisterList(load_type, destinations)
840 destinations, argument
845 min_bits = min([destination.register_bits for destination in destinations])
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.-cross-device-ops.pbtxt19 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
23 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
27 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
31 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-reduction-to-one-device.pbtxt20 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
24 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
28 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
32 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-hierarchical-copy-all-reduce.pbtxt21 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
25 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-nccl-all-reduce.pbtxt21 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
25 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-strategy-extended.pbtxt43 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
71 …argspec: "args=[\'self\', \'reduce_op\', \'value\', \'destinations\'], varargs=None, keywords=None…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.-cross-device-ops.pbtxt19 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
23 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
27 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
31 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-reduction-to-one-device.pbtxt20 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
24 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
28 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
32 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-hierarchical-copy-all-reduce.pbtxt21 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
25 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-nccl-all-reduce.pbtxt21 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
25 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\'], varargs=None, k…
Dtensorflow.distribute.-strategy-extended.pbtxt43 …argspec: "args=[\'self\', \'tensor\', \'destinations\'], varargs=None, keywords=None, defaults=Non…
71 …argspec: "args=[\'self\', \'reduce_op\', \'value\', \'destinations\'], varargs=None, keywords=None…
/external/v8/tools/ignition/
Dbytecode_dispatches_report.py98 for source, destinations in iteritems(dispatches_table):
99 total = float(sum(itervalues(destinations)))
100 if bytecode in destinations:
101 count = destinations[bytecode]
104 destinations = []
108 destinations.append((destination, count, count / bytecode_total))
112 heapq.nlargest(top_count, destinations, key=lambda x: x[1]))
/external/walt/ios/WALT/
DMIDIEndpoint.m39 NSMutableArray<MIDIDestination *> *destinations =
48 [destinations addObject:destination];
54 return destinations;
/external/harfbuzz_ng/test/subset/
Dsubset_test_suite.py76 destinations = {
92 if line in destinations:
93 current_destination = destinations[line]
/external/python/cpython3/Lib/test/
Dtest_clinic.py62 self.destinations = {}
66 d = self.destinations.get
78 d = self.destinations.get(name)
84 if name in self.destinations:
86 self.destinations[name] = clinic.Destination(name, type, self, *args)

1234