def METHOD_NAME(self, name):
    """Adds name of deleted tensor to deleted"""
    if name not in self.deleted:
        for old, new in self.renamed.items():
            if name == new:
                self.renamed.pop(old)
                self.deleted.append(old)
                break
        else:
            self.deleted.append(name)
        self.is_dirty = True