Home
last modified time | relevance | path

Searched refs:replica_number (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dlocal_service.cc190 StatusOr<int> LocalService::ReplicaNumberToDeviceOrdinal(int replica_number) { in ReplicaNumberToDeviceOrdinal() argument
192 replica_number, /*computation=*/0, options_.number_of_replicas(), in ReplicaNumberToDeviceOrdinal()
197 const GlobalDataHandle& data, int replica_number) { in GlobalDataToShapedBuffer() argument
199 if (replica_number >= buffers.size()) { in GlobalDataToShapedBuffer()
202 replica_number, buffers.size()); in GlobalDataToShapedBuffer()
204 return buffers[replica_number]; in GlobalDataToShapedBuffer()
Dlocal_service.h60 StatusOr<int> ReplicaNumberToDeviceOrdinal(int replica_number);
65 const GlobalDataHandle& data, int replica_number);
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.h167 const GlobalDataHandle& data, int replica_number);
188 StatusOr<int> ReplicaNumberToDeviceOrdinal(int replica_number);
Dlocal_client.cc424 const GlobalDataHandle& data, int replica_number) { in GlobalDataToShapedBuffer() argument
425 return local_service_->GlobalDataToShapedBuffer(data, replica_number); in GlobalDataToShapedBuffer()
444 StatusOr<int> LocalClient::ReplicaNumberToDeviceOrdinal(int replica_number) { in ReplicaNumberToDeviceOrdinal() argument
445 return local_service_->ReplicaNumberToDeviceOrdinal(replica_number); in ReplicaNumberToDeviceOrdinal()