Searched refs:offset_arrays (Results 1 – 1 of 1) sorted by relevance
210 std::vector<std::vector<int32>> offset_arrays(shape.rank()); in MakePartitionOffsets() local212 offset_arrays[i].resize(sharding.tile_assignment().num_elements()); in MakePartitionOffsets()218 offset_arrays[i][device] = indices[i] * shard_shape.dimensions(i); in MakePartitionOffsets()229 LiteralUtil::CreateR1<int32>(offset_arrays[i]))); in MakePartitionOffsets()