mv_machine_learning: introduce allocate function for TensorBuffer class
authorInki Dae <inki.dae@samsung.com>
Tue, 7 Sep 2021 03:59:07 +0000 (12:59 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 9 Sep 2021 00:28:03 +0000 (09:28 +0900)
commita80a0852ed96593b8aa149f40e3dcb784d760058
tree9d8b227cdcae65c040d2cdb045c09b18b4754fc0
parenta06d8f48d3782ec90d41353e9087220688d28223
mv_machine_learning: introduce allocate function for TensorBuffer class

Added allocate function to allocate buffers for input and output tensors.
This patch drops code duplication - same code was used to allocate
input and output tensor buffers.

Change-Id: I0cfb46633a9a3fe74c734307ac9c15b5df064e63
Signed-off-by: Inki Dae <inki.dae@samsung.com>
mv_machine_learning/mv_inference/inference/include/TensorBuffer.h
mv_machine_learning/mv_inference/inference/src/Inference.cpp
mv_machine_learning/mv_inference/inference/src/TensorBuffer.cpp