[neurun] Fix for const model ouput (again) (#9002)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Tue, 19 Nov 2019 07:55:08 +0000 (16:55 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 19 Nov 2019 07:55:08 +0000 (16:55 +0900)
commit4a7fd026d8b7cfa3fcd1ed9f33f0a5466f62c864
tree0081cfd009cb4c1bd596ee68064b254950a8a212
parent41298d1345771f92c1ea67dcf1489f421c65b0e1
[neurun] Fix for const model ouput (again) (#9002)

* [neurun] Fix for const model ouput (again)

Handle properly when a model has const model outputs.
This makes it not crash however the results are still incorrect since
Const values are not initialized yet.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* Fix failure

It is wrong that assuming just one use for inputs.

* Merge fix
runtime/neurun/core/src/compiler/Linear.cc
runtime/neurun/core/src/graph/Graph.cc
tests/tools/nnpackage_run/src/nnpackage_run.cc