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

[onert] Revisit DepthwiseConv2D nnfw_api test #13559

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

jyoungyun
Copy link
Contributor

This commit renames test cases to be simple and adds test cases related to Bias and Multiplier.

ONE-DCO-1.0-Signed-off-by: Jiyoung Yun [email protected]

@jyoungyun jyoungyun added the PR/ready for review It is ready to review. Please review it. label Jul 30, 2024
@jyoungyun jyoungyun requested a review from a team July 30, 2024 01:59
@jyoungyun jyoungyun force-pushed the onert/nnfw_api_dconv_tst branch from e86003b to 8fb200c Compare July 30, 2024 02:01
This commit renames test cases to be simple and adds test cases related
to Bias and Multiplier.

ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
@jyoungyun jyoungyun force-pushed the onert/nnfw_api_dconv_tst branch from 8fb200c to 0adcc93 Compare July 30, 2024 05:17
@jyoungyun jyoungyun requested a review from a team July 30, 2024 05:18
ragmani
ragmani previously approved these changes Jul 30, 2024
Copy link
Contributor

@ragmani ragmani left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 22 to 23
std::vector<float> weight_data{1.0f, 2.0f, 3.0f, 4.0f, -9.0f, 10.0f, -11.0f, 12.0f,
5.0f, 6.0f, 7.0f, 8.0f, 13.0f, -14.0f, 15.0f, -16};
Copy link
Contributor

Choose a reason for hiding this comment

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

Why weight shape is {1, 2, 2, 2} and data size is 16?

Suggested change
std::vector<float> weight_data{1.0f, 2.0f, 3.0f, 4.0f, -9.0f, 10.0f, -11.0f, 12.0f,
5.0f, 6.0f, 7.0f, 8.0f, 13.0f, -14.0f, 15.0f, -16};
std::vector<float> weight_data{1.0f, 2.0f, 3.0f, 4.0f, -9.0f, 10.0f, -11.0f, 12.0f};

@hseok-oh
Copy link
Contributor

hseok-oh commented Aug 1, 2024

@jyoungyun Please fix format

ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
@jyoungyun jyoungyun force-pushed the onert/nnfw_api_dconv_tst branch from 85a7394 to fe93805 Compare August 1, 2024 07:42
@hseok-oh hseok-oh merged commit 9da6489 into Samsung:master Aug 1, 2024
9 checks passed
@jyoungyun jyoungyun deleted the onert/nnfw_api_dconv_tst branch August 2, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR/ready for review It is ready to review. Please review it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants