keras/src/utils/tracking.py/TrackedList/extend
class TrackedList:    def extend(self, values):
        if self.tracker:
            values = [self.tracker.track(v) for v in values]
        super().extend(values)