JDAI-CV / DNNLibrary

Daquexian's NNAPI Library. ONNX + Android NNAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Most code can be generated automatically

daquexian opened this issue · comments

Most code, like AddXXXXXs in ModelBuilder.cpp and AddLayers in DaqReader.cpp, though is hard to generate by macros, can be generated by some more complicated tools. Adding every layer by hand is error-prone, time consuming and not elegant.

I'm working on code_generation branch

Fixed in #37

Reopen it since some method in OnnxConverter can be also generated, and many operators are to be to supported in the near future for Android Q.

Fixed in #46