Set model path according to MLAPI backend 63/235963/3
authorInki Dae <inki.dae@samsung.com>
Thu, 11 Jun 2020 07:29:14 +0000 (16:29 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 11 Jun 2020 11:22:41 +0000 (20:22 +0900)
commitc08e5496c150d2c667cb4caf9bce0f0d02dcff6e
tree9e52b4a3cf402efe0dda34413f0f2432ab29b109
parentf911018186326850d1f3c883e3f0d4a63ec25cbe
Set model path according to MLAPI backend

NNFW - in-house NN Runtime - needs NNPackage type of package
which is a directory containing a model file and its meta file.
For more details, you can refer to
https://github.com/Samsung/ONE/tree/master/nnpackage/examples/one_op_in_tflite

ML Single API framework of NNStreamer receives a full path of a given model file
from user - in our case, inference-engine-mlapi backend - and find metadata
in the directory that the a given model file is located.

So inference-engine-mlapi backend should pass a full path of
the a given model file to ML Single API framework.

Change-Id: I6bdd871d5b683dbd6e60fce0f6dbd052985cd514
Signed-off-by: Inki Dae <inki.dae@samsung.com>
src/inference_engine_mlapi.cpp