forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(TensorSliceOp::fold): ignore DenseResourceElementsAttr (iree-org#…
…19182) Fixes: iree-org#17566 Certain cases involve constants who have been converted to resources. The following change simply ignores these in the folding operation. One possible future improvement is to perform the slicing at compile time as we do for the DenseElements, but for now to unblock failing models this is good enough Signed-off-by: Christopher McGirr <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters