keras/src/trainers/compile_utils.py/MetricsList/__init__
class MetricsList:    def __init__(self, metrics, name="metrics_list", output_name=None):
        super().__init__(name=name)
        self.metrics = metrics
        self.output_name = output_name