[nnpkg_run] verify input and output before prepare and run (#6857)
author이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com>
Fri, 23 Aug 2019 05:35:32 +0000 (01:35 -0400)
committer이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Fri, 23 Aug 2019 05:35:32 +0000 (14:35 +0900)
commit680c1241bfeda5fa102f9fcec8db879b3edfab08
treef344ba135a46699fc553f2498188b3522c851e61
parentc5d86214dded5e960135d2821864dfccf52a7dc8
[nnpkg_run] verify input and output before prepare and run (#6857)

Check input number and input/output types first so that we can do
early exit before prepare.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
tests/tools/nnpackage_run/src/nnpackage_run.cc