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