keras/src/utils/tracking.py/TrackedList/__delitem__
class TrackedList:    def __delitem__(self, index):
        value = self[index]  # Get value before removing
        super().__delitem__(index)
        if self.tracker:
            self.tracker.untrack(value)