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

[NNAPI]Re-enable skip flatten/reshape if it's Gemm's input #5904

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

guoyu-wang
Copy link
Contributor

Description: [NNAPI]Re-enable skip flatten/reshape if it's Gemm's input

Motivation and Context

  • Correct previous disabled skip Reshape/Flatten, make the skip if and only if the Reshape/Faltten's output is the input of Matmal/Gemm with certain conditions
  • This will speed up the execution of one of the officelens model from 30ms -> 9ms

@guoyu-wang guoyu-wang requested a review from a team as a code owner November 24, 2020 00:26
Copy link
Contributor

@skottmckay skottmckay left a comment

Choose a reason for hiding this comment

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

:shipit:

@guoyu-wang guoyu-wang merged commit c49d5f1 into master Nov 24, 2020
@guoyu-wang guoyu-wang deleted the gwang-msft/nnapi_flatten_support branch November 24, 2020 08:01
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