Skip to content

Commit 728ba86

Browse files
committed
Revert changes in the OV adapter
1 parent 9e449b1 commit 728ba86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cpp/src/adapters/openvino_adapter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ void OpenVINOInferenceAdapter::applyModelTransform(std::function<void(std::share
6262
throw std::runtime_error("Model is not loaded");
6363
}
6464
t(model);
65+
if (model->has_rt_info({"model_info"})) {
66+
modelConfig = model->get_rt_info<ov::AnyMap>("model_info");
67+
}
6568
}
6669

6770
void OpenVINOInferenceAdapter::infer(const InferenceInput& input, InferenceOutput& output) {

0 commit comments

Comments
 (0)