-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This draft for odc: auto compilation ( hidden switching mechanism). f…
…circle-qcircle step was implemented with compilation Conv2D_000.circle is used as model for test (it was added just for this draft verification) This draft contains auto compilation, which is executed in `nnfw_run_auto_compilation` function. - `nnfw_run_auto_compilation` function was added. - QuantizerManager, quantizer and MinMaxReader were changes for set and minmax threshold and cheking readiness for quantization. Function for removing minmax file was added. - OdcInfo class for storaging actual state of the odc was added. - for compilation step it uses "session::codegen" function After model quantization, the removing minmax file step was added. After first loading quantized model the following sequence was implemented: - save the inputs and outputs buffers of the initial fcricle model - attempt to compile of the quantized model and load compiled model, if it fails, try to load the quantized model - recover inputs and outputs after that - do inference of the compiled or quantized model Positive and negative tests were added ONE-DCO-1.0-Signed-off-by: Evgenii Maltsev [email protected]
- Loading branch information
Showing
20 changed files
with
854 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.