PrimListConstructOp
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 736
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 15
Description
%7 = torch.prim.ListConstruct %6, %4 : (!torch.vtensor<[1,10],f32>, !torch.vtensor<[1,20],f32>) -> !torch.list
How to write code in MLIR to achieve the above output, when I was writing, PrimListConstructOp reminded me that the shapes of the two tensors must be consistent?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue provides no repository file, test, or entry point to follow. Start by reproducing the MLIR output involving torch.prim.ListConstruct and inspect how PrimListConstructOp validates tensor types and shapes. Done means identifying the correct way to construct a list from tensors with differing shapes and documenting or implementing the required behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, pytorch
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100