Searched refs:temp_target_tile (Results 1 – 1 of 1) sorted by relevance
1104 auto temp_target_tile = sharding().tile_assignment(); in ReshardWithAllToAll() local1106 std::vector<int64> reshape_tile_dims(temp_target_tile.num_dimensions() + 2); in ReshardWithAllToAll()1110 for (int64 j = 0; j < temp_target_tile.num_dimensions(); ++j) { in ReshardWithAllToAll()1112 reshape_tile_dims[i] = temp_target_tile.dim(j) / group_size; in ReshardWithAllToAll()1116 reshape_tile_dims[i] = temp_target_tile.dim(j); in ReshardWithAllToAll()1120 reshape_tile_dims[i] = temp_target_tile.dim(j); in ReshardWithAllToAll()1124 temp_target_tile.Reshape(reshape_tile_dims); in ReshardWithAllToAll()1125 std::vector<int64> xpose_dims(temp_target_tile.num_dimensions()); in ReshardWithAllToAll()1129 temp_target_tile = hlo_sharding_util::TransposeSharding( in ReshardWithAllToAll()1130 HloSharding::Tile(temp_target_tile), xpose_dims) in ReshardWithAllToAll()[all …]