Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[draft] Constant folding for StridedSlice op #12713

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miusic
Copy link
Contributor

@miusic miusic commented Feb 28, 2024

This draft folds the StridedSlice op as a constant


related to: #12046

@miusic miusic added PR/NO MERGE Please don't merge. I'm still working on this :) DRAFT A draft issue or PR for sharing one's current working status and discussion. labels Feb 28, 2024
This draft folds the StridedSlice op as a constant

Signed-off-by: jihunnn.kim <jihunnn.kim@samsung.com>
@miusic miusic force-pushed the draft-pass-to-fold-stridedslice branch from cde3a9b to 6a573d1 Compare February 28, 2024 12:58
@miusic
Copy link
Contributor Author

miusic commented Mar 4, 2024

tflite

before tflite

circle

after circle


After folding, constant_ConstStridedSlice was expected to have [21, 164], but it only has [21]... 😥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DRAFT A draft issue or PR for sharing one's current working status and discussion. PR/NO MERGE Please don't merge. I'm still working on this :)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant