[2TOPS/Fix] Use dynamic data granularity
authorDongju Chae <dongju.chae@samsung.com>
Wed, 30 Dec 2020 01:24:51 +0000 (10:24 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Mon, 4 Jan 2021 02:47:09 +0000 (11:47 +0900)
commit608902f175ee95d7a077a4ee2bef77c677a9008c
treee73775db3cea342987c63c5adef0acbf3b629b58
parent6b059a452b58f22e95ff7e28fccb180c7b9fe092
[2TOPS/Fix] Use dynamic data granularity

This patch changes codes to use dynamic data granularity depending on
the npu tops and element size.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
include/common/npubinfmt.h
src/core/ne-data.cc
src/core/ne-data.h
src/core/ne-handler.cc
src/core/ne-model.cc
src/core/ne-model.h