[TensorPool] Added tensor pool implementation
authorParichay Kapoor <pk.kapoor@samsung.com>
Fri, 20 Aug 2021 11:10:55 +0000 (20:10 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 28 Sep 2021 04:29:40 +0000 (13:29 +0900)
commitda2912bc8e0e6db22dd1356c5a14a925ffd9d3e3
treef7d3fa58c783512b652a6b072971629d7d4391cd
parentef744426c5880e9ffe6e5bf72c37e62a54481a6d
[TensorPool] Added tensor pool implementation

Added tensor pool implementation with unittests.
Tensorpool provides the interface where all the requested tensors are
managed at one places ensuring the uniqueness of name with their
lifespan and execution orders.
Corresponding unittests checking the working is added.

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
nntrainer/tensor/memory_pool.h
nntrainer/tensor/meson.build
nntrainer/tensor/tensor_pool.cpp [new file with mode: 0644]
nntrainer/tensor/tensor_pool.h
test/unittest/meson.build
test/unittest/unittest_nntrainer_tensor_pool.cpp [new file with mode: 0644]