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

Operation decomposition should be done in ModelBuilder #44

Open
daquexian opened this issue Apr 8, 2019 · 0 comments
Open

Operation decomposition should be done in ModelBuilder #44

daquexian opened this issue Apr 8, 2019 · 0 comments
Labels
Android Q Android Q Support

Comments

@daquexian
Copy link
Collaborator

daquexian commented Apr 8, 2019

Some operations in DNNLibrary are indeed composited by several nnapi operations

e.g.,
dilated convolution = space to batch -> convolution -> batch to space
prelu -> relu + (mul -> relu -> mul).

The decomposition is now done in OnnxConverter, however, many of these operations are supported directly by nnapi in Android Q. As a result, the decomposition should be done in ModelBuilder on-the-fly in order to choose the best interpretation of these ops.

@daquexian daquexian added the Android Q Android Q Support label Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Q Android Q Support
Projects
None yet
Development

No branches or pull requests

1 participant