This patch defines the behaviour of reloading model files when the
verify_model_path is set to TRUE.
Signed-off-by: Wook Song <wook16.song@samsung.com>
g_assert (model_files);
gst_tensor_filter_parse_modelpaths_string (prop, model_files);
- /* reload model if FW has been already opened */
- /* TODO: need to define the behaviur according to priv->fw->verify_model_path */
+ /**
+ * Reload model if FW has been already opened;
+ * In the case of reloading model files, each priv->fw (tensor filter for each nnfw)
+ * has responsibility for the verification of the path regardless of priv->fw->verify_model_path.
+ */
if (priv->prop.fw_opened && priv->is_updatable) {
if (priv->fw && priv->fw->reloadModel) {
if (priv->fw->reloadModel (&priv->prop, &priv->privateData) != 0) {