'Args:
metric (Metric): Metric to apply in this multi-output context
index (integer): The index into the model\'s output tuple to apply
the metric to'

def __init__(self, metric, index):

    self.metric = metric
    self.index = index
