Skip to content

Conversation

@mbencer
Copy link
Contributor

@mbencer mbencer commented Jan 2, 2025

This commit removes assert that limit Transpose 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: #14511

This commit removes assert that limit Transpose 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 January 2, 2025 08:11
const int32_t *perm_data = getTensorData<int32_t>(perm());

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
Collaborator

@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

@jinevening jinevening merged commit 548c522 into Samsung:master Jan 3, 2025
8 checks passed
@mbencer mbencer deleted the mbencer/Transpose5D branch March 26, 2025 12:10
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