[libnpuhost/api] add the API to set data info for input/output tensors
authorDongju Chae <dongju.chae@samsung.com>
Fri, 10 Jan 2020 06:45:01 +0000 (15:45 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Tue, 14 Jan 2020 02:11:43 +0000 (11:11 +0900)
commit8614633993bd4c8860c47ba8edeb91cd73ada8a8
tree4d683991362423822d3242f69f70beb68e32670c
parentd0f3c29d8c3b56dca93927edd063ece9c63d1ebc
[libnpuhost/api] add the API to set data info for input/output tensors

This commit adds the API to set data info for input/output tensors.
It defines the data layout/type for tensor layouts, and NPU Engine
will use such information to perform data manipulation and quantization.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
include/common/npubinfmt.h
include/common/typedef.h
include/host/libnpuhost.h
src/core/ip/plugin-comm-ip.c