Consider user-given property info first 40/266240/3
authorInki Dae <inki.dae@samsung.com>
Tue, 8 Jun 2021 03:49:48 +0000 (12:49 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 10 Nov 2021 05:43:12 +0000 (14:43 +0900)
commit8f5f3b5c447fa0889a9f03d68c8a9df7c0c24bba
tree1a576c8d201db0fbfaa2b92801f3e740bb80919a
parent0e3d506846d6ebcac0239f150618bf86dee34438
Consider user-given property info first

[Version] : 0.0.2-2
[Issue type] : bug fix

Considered user-given property info first if exists.

In case of ONERT, it doesn't provide input and output tensor names
so we have to use the names given by user instead.

This patch checks if user-given property information exists,
and gets the name from the property information if exists.

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