Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/client/
Dsharding_builder.cc75 for (const auto& index_to_sharding : shardings.leaves()) { in Tuple() local
76 *result.add_tuple_shardings() = index_to_sharding.second; in Tuple()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc111 for (const auto& index_to_sharding : sub_shardings.leaves()) { in Tuple() local
112 flattened_list.push_back(index_to_sharding.second); in Tuple()
330 for (auto& index_to_sharding : result.leaves()) { in AsShapeTree() local
331 index_to_sharding.second = *it++; in AsShapeTree()
389 for (const auto& index_to_sharding : shape_tree.leaves()) { in ValidateTuple() local
390 Status status = index_to_sharding.second.ValidateNonTuple( in ValidateTuple()
391 ShapeUtil::GetSubshape(shape, index_to_sharding.first), num_devices); in ValidateTuple()
395 index_to_sharding.first.ToString(), " which is ", in ValidateTuple()
396 index_to_sharding.second.ToString())); in ValidateTuple()
Dhlo_sharding_test.cc427 for (auto& index_to_sharding : sharding_tree.leaves()) { in TEST_P() local
428 index_to_sharding.second = *it++; in TEST_P()