Searched refs:select_replica (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/python/distribute/ |
D | mirrored_function_strategy.py | 126 return_values.append(fn(*values.select_replica(index, args), 127 **values.select_replica(index, kwargs))) 129 return_values.append(fn(*values.select_replica(index, args), 130 **values.select_replica(index, kwargs)))
|
D | input_lib_test.py | 179 [values.select_replica(r, 188 [values.select_replica(r, 200 [values.select_replica(r, 210 [values.select_replica(r, x) for r in range(len(devices))]) 562 values.select_replica(0, per_replica_batch["dense"]), 565 values.select_replica(1, per_replica_batch["dense"]), 570 values.select_replica(i, per_replica_batch["ragged"]).values, 6) 572 values.select_replica(i, per_replica_batch["ragged"]).to_tensor(), 573 values.select_replica(i, per_replica_batch["dense"])) 575 values.select_replica(i, per_replica_batch["sparse"]).indices, 6) [all …]
|
D | tpu_strategy.py | 419 …select_replica = lambda x: values.select_replica(replica_id, x) # pylint: disable=cell-var-from-l… function 421 select_replica, per_replica_inputs),)) 791 values.select_replica(i, args), 792 values.select_replica(i, kwargs)])
|
D | values_test.py | 206 values.select_replica(0, result)) 208 values.select_replica(1, result)) 247 values.select_replica(0, result)) 249 values.select_replica(1, result)) 279 result_0 = values.select_replica(0, result) 284 result_1 = values.select_replica(1, result) 295 values.select_replica(0, result)) 350 values.select_replica(device_id, 723 self.assertIs(v, values.select_replica(0, v))
|
D | collective_all_reduce_strategy_test.py | 365 computed_value = sess.run([values.select_replica(r, next_element) 374 sess.run([values.select_replica(r, next_element) 383 computed_value = sess.run([values.select_replica(r, next_element)
|
D | mirrored_strategy.py | 129 values.select_replica(index, args), 130 values.select_replica(index, kwargs)) 197 t.merge_result = values.select_replica(r, merge_result)
|
D | strategy_test_lib.py | 352 [values.select_replica(r, next_element) for r in range(len(devices))]) 361 [values.select_replica(r, next_element) for r in range(len(devices))]) 370 values.select_replica(r, next_element) for r in range(len(devices))
|
D | parameter_server_strategy_test.py | 535 computed_value = sess.run([values.select_replica(r, next_element) 544 sess.run([values.select_replica(r, next_element) 553 computed_value = sess.run([values.select_replica(r, next_element)
|
D | mirrored_strategy_test.py | 983 device_result = values.select_replica(r, result) 984 device_expected_result = values.select_replica(r, expected_result)
|
D | values.py | 1246 def select_replica(replica_id, structured): function
|