JDAI-CV / JDAI-CV/DNNLibrary

Operation decomposition should be done in ModelBuilder

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Android Q
Dominant language
C++
Stars
350
Forks
59
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.