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

ImageManipV2 stride alignment #1238

Merged
merged 6 commits into from
Feb 14, 2025
Merged

ImageManipV2 stride alignment #1238

merged 6 commits into from
Feb 14, 2025

Conversation

asahtik
Copy link
Contributor

@asahtik asahtik commented Feb 12, 2025

Purpose

NeuralNetwork assumes that width == stride, which was not the case in ImageManipV2 outputs on host and RVC4 (for performance reasons).

Specification

Do not align stride (align to 1 instead of 8) in ImageManipV2 on RVC4 and host.

Dependencies & Potential Impact

Possible performance impact, TBD

Deployment Plan

/

Testing & Validation

setOutputSize(300, 300) and check that the stride equals to width or to 3 * width, depending on image type

@asahtik asahtik requested a review from moratom February 12, 2025 11:20
@asahtik asahtik changed the title Manipv2 stride 1 ImageManipV2 stride alignment Feb 12, 2025
@asahtik asahtik merged commit 7c304dc into v3_develop Feb 14, 2025
41 of 43 checks passed
@asahtik asahtik deleted the manipv2_stride_1 branch February 14, 2025 13:20
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