Fixed error message for unrecognized attribute (#8815)

This commit is contained in:
Ilya Churaev 2021-11-27 07:34:38 +03:00 committed by GitHub
parent 1cc9ca481f
commit 5e91ef4640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -735,10 +735,10 @@ std::shared_ptr<ngraph::Node> XmlDeserializer::createNode(const std::vector<ngra
if (attr->visit_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";
}
}
};