[manager] Use memory pool for weights
authorParichay Kapoor <pk.kapoor@samsung.com>
Tue, 17 Aug 2021 04:06:30 +0000 (13:06 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 28 Sep 2021 04:29:40 +0000 (13:29 +0900)
commitc2ff7dd838103e1e61de91a6287a4f10f0a1b69e
treec8574c8e09ea261549010bbc30cfebbe1e5360af
parentda24103590a16450b839e99abfe19fc0b480050d
[manager] Use memory pool for weights

This patch updates the use of memory pool for the weights of the model.
Correspondingly a pool object is added to the manager.
The pool is allocated in the weights allocation.

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
jni/Android.mk
nntrainer/tensor/manager.cpp
nntrainer/tensor/manager.h
nntrainer/tensor/memory_pool.cpp
nntrainer/tensor/tensor.h