def get_consumers(self, node_name: str, return_special_outputs: bool = False) -> list[str]:
        """Get the consumers of a node.

        :param node_name: name of the node. It can also be an input or initializer.

        :return: list of names of nodes that consume one/more outputs of the node.
        """
        if node_name in self.ios:
            consumers = self.ios[node_name].destination
        else:
            consumers = self.connections[node_name]

        if return_special_outputs:
            return list(consumers)

        return list(filter(lambda c: c != SpecialOutput.OUTPUT, consumers))
Get the consumers of a node.

        :param node_name: name of the node. It can also be an input or initializer.

        :return: list of names of nodes that consume one/more outputs of the node.
        
olive/passes/onnx/onnx_dag.py