[Common] Add get_tensor_type, find_key_strv internal API.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 31 May 2018 08:32:26 +0000 (17:32 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Fri, 1 Jun 2018 05:39:31 +0000 (14:39 +0900)
commit34f244714ff52454810774b4969ff2a925d44e8a
tree473ba313ac6e149617be0d22a5f85e7eb4b304ce
parentaf8fd279a74d01e80ab240834435bf034c312be7
[Common] Add get_tensor_type, find_key_strv internal API.

1. Added get_tensor_type API for plugins to parse properties
2. Added unittest cases.

get_tensor_type may be implemented with find_key_strv, but, let's
use this "faster" for type property finder.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
CMakeLists.txt
common/tensor_common.c
common/test/unittest_common.cpp [new file with mode: 0644]
include/tensor_common.h
packaging/nnstreamer.spec