[API] add an API to calculate a tensor size of model
authorDongju Chae <dongju.chae@samsung.com>
Mon, 24 May 2021 11:25:32 +0000 (20:25 +0900)
committer문지중/On-Device Lab(SR)/Principal Engineer/삼성전자 <jijoong.moon@samsung.com>
Tue, 25 May 2021 04:34:50 +0000 (13:34 +0900)
commit44be6c8285385fdbde05afb90fc1df545ab1e9d0
treed492fcf4650758c259a75d6f58f204523b87f982
parentbe6d0d2c27735a724cf6a7c376b9974a322ae364
[API] add an API to calculate a tensor size of model

This patch adds an API to calculate a tensor size which
the target model assumes.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
include/host/libnpuhost.h
src/core/ne-handler.cc
src/core/ne-handler.h
src/host/ne-host.cc