def on_prune(self, fgraph, node, reason):
        try:
            nodes = self.d[node.op]
        except __HOLE__:  # node.op is unhashable
            return
        nodes.remove(node)
        if not nodes:
            del self.d[node.op]
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/gof/toolbox.py/NodeFinder.on_prune