google / google/xls

Add `array_to_tuple` builtin

Open
#1,347 0 comments 0 reactions 0 assignees View on GitHub
dslx enhancement
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

When we do parallel patterns with arrays we may want to then convert the results into a tuple, just to match with a type expectation. Since arrays of size N are always also valid tuples (but not visa-versa) we can make a transform that goes in that direction.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.