def METHOD_NAME(self, cur_epoch, lrs, base_lr, steps,
                                     max_epoch):
    """lr func steps with relative lrs"""
    # get step index
    steps = steps + [max_epoch]
    for ind, step in enumerate(steps):
        if cur_epoch < step:
            break
    return lrs[ind - 1] * base_lr