From 491d44172ebef75fc3681c19bdd1da939b85b75c Mon Sep 17 00:00:00 2001 From: Yongjoo Ahn Date: Wed, 16 Oct 2024 15:57:46 +0900 Subject: [PATCH] [filter] Update executorch API usage - Fix the executorch `Module` API usage in the sub-plugin. Signed-off-by: Yongjoo Ahn --- ext/nnstreamer/tensor_filter/tensor_filter_executorch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/nnstreamer/tensor_filter/tensor_filter_executorch.cc b/ext/nnstreamer/tensor_filter/tensor_filter_executorch.cc index 4196b789f..7129e54f9 100644 --- a/ext/nnstreamer/tensor_filter/tensor_filter_executorch.cc +++ b/ext/nnstreamer/tensor_filter/tensor_filter_executorch.cc @@ -145,7 +145,7 @@ executorch_subplugin::configure_instance (const GstTensorFilterProperties *prop) model_path = g_strdup (prop->model_files[0]); - module = std::make_unique (model_path, Module::MlockConfig::NoMlock); + module = std::make_unique (model_path); if (module->load () != Error::Ok) { const std::string err_msg = "Failed to load module with Given file " + (std::string) model_path;