Home
last modified time | relevance | path

Searched refs:tuple_sharding (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/python/
Dtypes.h473 for (const auto& tuple_sharding : tuple_shardings) {
476 handle sharding_type = getattr(tuple_sharding, "type");
481 dims = getattr(tuple_sharding, "tile_assignment_dimensions")
488 devices = getattr(tuple_sharding, "tile_assignment_devices")
495 getattr(tuple_sharding, "replicate_on_last_tile_dim").cast<bool>());
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_test.cc174 HloSharding tuple_sharding = in TEST_F() local
178 tuple_sharding.GetAsShapeTree(nested_tuple_shape); in TEST_F()
183 EXPECT_IS_OK(tuple_sharding.Validate(nested_tuple_shape, /*num_devices=*/5)); in TEST_F()
185 EXPECT_IS_NOT_OK(tuple_sharding.Validate(ShapeUtil::MakeTupleShape({}), in TEST_F()
188 EXPECT_IS_NOT_OK(tuple_sharding.Validate(ShapeUtil::MakeShape(F32, {}), in TEST_F()
Dhlo_sharding.cc358 for (auto& tuple_sharding : tuple_elements_) { in UniqueDevice() local
359 auto device = tuple_sharding.UniqueDevice(); in UniqueDevice()
Dsharding_propagation_test.cc829 for (const HloSharding& tuple_sharding : in TEST_P()
831 for (const HloSharding& sub_sharding : tuple_sharding.tuple_elements()) { in TEST_P()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler.cc1056 xla::OpSharding tuple_sharding; in BuildArguments() local
1057 tuple_sharding.set_type(xla::OpSharding::TUPLE); in BuildArguments()
1060 *tuple_sharding.add_tuple_shardings() = in BuildArguments()
1074 : tuple_sharding); in BuildArguments()
Dxla_compiler_test.cc1797 xla::HloSharding tuple_sharding = xla::HloSharding::Tuple( in TEST_F() local
1800 tuple_sharding.ToProto().SerializeAsString()); in TEST_F()