fix a bug to incorrect tensor info 16/286216/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, 2 Jan 2023 01:16:08 +0000 (10:16 +0900)
commit44ebc57a8467816425bfb704e16eaea12f44dd44
tree6e78ace8eab738b5b7dffeaddcdceb3aaa12074f
parent709e146666db3c27844ac32b23b581194b2c7749
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