Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CORE] Weights provider pass reference (#37885)

barnasm1f6bbc338a4b4
diff --git a/src/frontends/ir/src/input_model.cpp b/src/frontends/ir/src/input_model.cpp
index 0fc17519c36..b3f9d240117 100644
--- a/src/frontends/ir/src/input_model.cpp
+++ b/src/frontends/ir/src/input_model.cpp
@@ -21,7 +21,7 @@
namespace {
void parse_pre_process(pugi::xml_node& root,
- std::shared_ptr<ov::util::WeightsProvider> weights_provider,
+ const std::shared_ptr<ov::util::WeightsProvider>& weights_provider,
std::shared_ptr<ov::Model> model) {
/* Preprocessing block can have two preprocessing types:
*