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

Add limit input rank <= 4 in NNAPI EP Sigmoid op support checker #13019

Merged
merged 5 commits into from
Sep 20, 2022

Conversation

YUNQIUGUO
Copy link
Contributor

Description: Describe your changes.

As title.
Added unit test for the case.

Motivation and Context

  • Why is this change required? What problem does it solve?
  • If it fixes an open issue, please link to the issue here.

Fix issue #12979

@YUNQIUGUO YUNQIUGUO requested review from skottmckay, edgchen1 and a team September 20, 2022 01:48
@@ -80,6 +80,30 @@ TEST(NnapiExecutionProviderTest, ReshapeFlattenTest) {
#endif
}

TEST(NnapiExecutionProviderTest, SigmoidSupportedInputRankTest) {
const ORTCHAR_T* model_file_name = ORT_TSTR("testdata/nnapi_sigmoid_input_rank_test.onnx");

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this model be added to the PR?

Copy link
Contributor Author

@YUNQIUGUO YUNQIUGUO Sep 20, 2022

Choose a reason for hiding this comment

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

yes. sorry - got gitignored. added to the pr.

@YUNQIUGUO YUNQIUGUO merged commit bee49dd into main Sep 20, 2022
@YUNQIUGUO YUNQIUGUO deleted the yguo/nnapi-sigmoid-limits-4d-fix branch September 20, 2022 23:40
linnealovespie pushed a commit that referenced this pull request Sep 30, 2022
)

**Description**: Describe your changes.

As title. 
Added unit test for the case.

**Motivation and Context**
- Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here.

Fix issue #12979
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