Skip to content

Commit

Permalink
[filter] Update executorch API usage
Browse files Browse the repository at this point in the history
- Fix the executorch `Module` API usage in the sub-plugin.

Signed-off-by: Yongjoo Ahn <[email protected]>
  • Loading branch information
anyj0527 authored and wooksong committed Oct 17, 2024
1 parent 11aa7be commit 491d441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/nnstreamer/tensor_filter/tensor_filter_executorch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ executorch_subplugin::configure_instance (const GstTensorFilterProperties *prop)

model_path = g_strdup (prop->model_files[0]);

module = std::make_unique<Module> (model_path, Module::MlockConfig::NoMlock);
module = std::make_unique<Module> (model_path);
if (module->load () != Error::Ok) {
const std::string err_msg
= "Failed to load module with Given file " + (std::string) model_path;
Expand Down

0 comments on commit 491d441

Please sign in to comment.