[C-Api] check nnfw with file extension
authorJaeyun <jy1210.jung@samsung.com>
Wed, 26 Jun 2019 06:53:03 +0000 (15:53 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 2 Jul 2019 02:33:51 +0000 (11:33 +0900)
commitb510aeee6bf2fb772074236ddb5108251f4d719f
treeb0f3c301d1544632136dc78a12b99bf9145683e4
parent26f734360adae20e9e5355664ac41c38607df2af
[C-Api] check nnfw with file extension

Check given model file has valid file extension.
If the param nnfw is unknown and file ext is valid, determine fw with the ext.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
api/capi/src/nnstreamer-capi-single.c
tests/tizen_capi/unittest_tizen_capi.cpp