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

[luci-interpreter] Relax StrideSlice rank limitations #14507

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

mbencer
Copy link
Contributor

@mbencer mbencer commented Dec 31, 2024

This commit removes assert that limit StrideSlice rank to 4. TF 2.8 allows to inference this operator with rank 5.

ONE-DCO-1.0-Signed-off-by: Mateusz Bencer m.bencer@partner.samsung.com

Issue: #14165

This commit removes assert that limit StrideSlice rank to 4. TF 2.8 allows to inference this operator with rank 5.

ONE-DCO-1.0-Signed-off-by: Mateusz Bencer <m.bencer@partner.samsung.com>
@mbencer mbencer requested a review from a team December 31, 2024 15:39
@@ -44,7 +44,7 @@ void StridedSlice::configure()
assert(begin()->element_type() == DataType::S32);
assert(end()->element_type() == DataType::S32);
assert(strides()->element_type() == DataType::S32);
assert(input()->shape().num_dims() <= 4);
assert(input()->shape().num_dims() <= 5);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@jinevening jinevening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thank you.

@jinevening jinevening merged commit c93d12c into Samsung:master Jan 2, 2025
8 checks passed
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.

2 participants