def METHOD_NAME(y_true, y_pred, taus):
    aps = []
    _iou = None
    for tau in taus:
        if _iou is None:
            _iou = iou(y_true, y_pred)
        aps.append(average_precision(_iou, tau))
    return aps