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"; } } };