fix a bug to incorrect tensor info 80/298980/1
authorInki Dae <inki.dae@samsung.com>
Mon, 2 Jan 2023 01:16:08 +0000 (10:16 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 18 Sep 2023 04:52:46 +0000 (13:52 +0900)
commit5f06cc191f36ac3a14b84e64fe587228a4f91b1a
tree1ec9657d9c2b99d0e9f3d81d8897322cba906b66
parentecd47e351a5ecc875ee61dfe769118572b684b22
fix a bug to incorrect tensor info

[Version] : 0.4.7
[Issue type] : bug fix

Fixed a bug that incorrect tensor info is used by
destroy previous tensor handle of mlapi before creating a new one.

In case of face recognition scenario, output tensor info
can be updated in runtime because new class can be added
while training - adding a new class allows to change output
tensor size.

Change-Id: Idb66bf213de8316b95f7e1697693bbf162e8c7a7
Signed-off-by: Inki Dae <inki.dae@samsung.com>
packaging/inference-engine-mlapi.spec
src/inference_engine_mlapi.cpp