Searched refs:shardings (Results 1 – 7 of 7) sorted by relevance
66 OpSharding Tuple(const ShapeTree<OpSharding>& shardings) { in Tuple() argument69 for (const auto& index_to_sharding : shardings.leaves()) { in Tuple()
54 OpSharding Tuple(const ShapeTree<OpSharding>& shardings);
156 shardings = [161 type=xla_data_pb2.OpSharding.TUPLE, tuple_shardings=shardings)
2 # Python API for shardings in XLA.
60 absl::Span<const HloSharding> shardings) { in Tuple() argument62 for (auto& sharding : shardings) { in Tuple()65 std::vector<HloSharding> flattened_list(shardings.begin(), shardings.end()); in Tuple()
69 absl::Span<const HloSharding> shardings);
597 // If type == TUPLE, the sub-shardings, one per leaf node in the tuple shape,600 // is not stored here; shardings do not store the shapes to which they are