From 8f862ae5dd79f70a27b900777729015fa52f8213 Mon Sep 17 00:00:00 2001 From: michal-miotk Date: Mon, 5 Aug 2024 22:03:12 +0000 Subject: [PATCH] fix for confused input with output in assert error message --- src/inference/src/cpp/compiled_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inference/src/cpp/compiled_model.cpp b/src/inference/src/cpp/compiled_model.cpp index 9ccf0ca4d2a9ba..14ae5b98d1826a 100644 --- a/src/inference/src/cpp/compiled_model.cpp +++ b/src/inference/src/cpp/compiled_model.cpp @@ -74,7 +74,7 @@ const ov::Output& CompiledModel::input(size_t i) const { OPENVINO_ASSERT(i < _impl->inputs().size(), "Cannot get input for index: ", i, - " outputs size is ", + " inputs size is ", _impl->inputs().size()); return _impl->inputs().at(i); });