Skip to content

Commit

Permalink
Update tools/mo/openvino/tools/mo/utils/ir_engine/ir_engine.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
  • Loading branch information
gkrivor and praasz authored Jun 24, 2024
1 parent 717da2a commit 0ce3809
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 @@ -35,7 +35,7 @@ def read_rt_info_attr(elem):
val_dict = {}
for child in elem:
child_val = read_rt_info_attr(child)
node_name = child.attrib['name'] if child.attrib['name'] else child.tag
node_name = child.attrib.get('name', child.tag)
val_dict[node_name] = child_val
return val_dict

Expand Down

0 comments on commit 0ce3809

Please sign in to comment.