From 5e91ef46400d09c78ea554d372f672e4f7488ec7 Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Sat, 27 Nov 2021 07:34:38 +0300 Subject: [PATCH] Fixed error message for unrecognized attribute (#8815) --- ngraph/frontend/ir/src/ir_deserializer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ngraph/frontend/ir/src/ir_deserializer.cpp b/ngraph/frontend/ir/src/ir_deserializer.cpp index 7271e190eca..c19c1e4d98c 100644 --- a/ngraph/frontend/ir/src/ir_deserializer.cpp +++ b/ngraph/frontend/ir/src/ir_deserializer.cpp @@ -735,10 +735,10 @@ std::shared_ptr XmlDeserializer::createNode(const std::vectorvisit_attributes(attribute_visitor)) { rt_info[type_info] = attr; } else { - IE_THROW() << "VisitAttributes is not supported for: " << item.name() << " attribute"; + IE_THROW() << "VisitAttributes is not supported for: " << attribute_name << " attribute"; } } else { - IE_THROW() << "Attribute: " << item.name() << " is not recognized"; + IE_THROW() << "Attribute: " << attribute_name << " is not recognized"; } } };