Make order of port names determined in IR (#5701)

* Make order of port names determined in IR

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Make port names in determined order and adopted tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
This commit is contained in:
Roman Kazantsev
2021-05-20 13:44:06 +03:00
committed by GitHub
parent 82b84c0b61
commit d98e954f5d
2 changed files with 12 additions and 12 deletions

View File

@@ -294,7 +294,7 @@ class Port:
if node_idx in self.node.out_nodes():
out_node = self.node.out_node(node_idx)
fw_names += get_tensor_names_list(out_node.attrs())
return fw_names
return sorted(fw_names)
def disconnect(self):
if self.type == 'out':