Skip to content

Fold AtenItemOp for DenseResourceElementsAttr inputs#4462

Open
IanWood1 wants to merge 1 commit intollvm:mainfrom
IanWood1:fold-aten-item-dense-resource
Open

Fold AtenItemOp for DenseResourceElementsAttr inputs#4462
IanWood1 wants to merge 1 commit intollvm:mainfrom
IanWood1:fold-aten-item-dense-resource

Conversation

@IanWood1
Copy link
Contributor

@IanWood1 IanWood1 commented Feb 7, 2026

Enable constant folding of aten.item when the input tensor is a splat DenseResourceElementsAttr, converting the resource blob data back to a scalar integer or float attribute.

Enable constant folding of aten.item when the input tensor is a splat
DenseResourceElementsAttr, converting the resource blob data back to
a scalar integer or float attribute.
@IanWood1 IanWood1 marked this pull request as ready for review February 7, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant