Searched refs:new_tile_shape (Results 1 – 1 of 1) sorted by relevance
1169 std::vector<int64> new_tile_shape( in PartiallyReplicateTiledShardingOnDims() local1173 new_tile_shape[dim] = 1; in PartiallyReplicateTiledShardingOnDims()1176 new_tile_shape.back() *= group_count; in PartiallyReplicateTiledShardingOnDims()1178 new_tile_shape.push_back(group_count); in PartiallyReplicateTiledShardingOnDims()1180 new_tile.Reshape(new_tile_shape); in PartiallyReplicateTiledShardingOnDims()1189 std::vector<int64> new_tile_shape; in RemoveShapeDimensions() local1190 new_tile_shape.reserve(sharding.tile_assignment().num_dimensions() - in RemoveShapeDimensions()1196 new_tile_shape.push_back(sharding.tile_assignment().dim(i)); in RemoveShapeDimensions()1200 new_tile.Reshape(new_tile_shape); in RemoveShapeDimensions()