Skip to content

Commit

Permalink
Added a missing change in ir_engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gkrivor committed Jul 5, 2024
1 parent 3771fe4 commit c0ea146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mo/openvino/tools/mo/utils/ir_engine/ir_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __load_xml(self):
statistics[layer.find('name').text] = {'min': layer.find('min').text, 'max': layer.find('max').text}
elif child.tag == 'rt_info':
for elem in child:
node_name = elem.attrib['name'] if elem.attrib['name'] else elem.tag
node_name = child.attrib.get('name', child.tag)
self.meta_data[node_name] = read_rt_info_attr(elem)

# TODO: Remove this part when POT updates to using of rt_info
Expand Down

0 comments on commit c0ea146

Please sign in to comment.