import math


def set_lr_sched(epochs, iters, mult):
    """ Learning rate schedule, using cyclical learning rate

    Args:
      epochs (int): how many cycles to build
      iters (int): iter count for first epoch
      mult (float): how much longer each epoch will be

    Returns:
      list: float values representing learning rate during training
    """

    mult_iter = iters
    iter_stack = []
    for a in range(epochs):
        iter_stack += [math.cos((x / mult_iter) * 3.14) * .5 + .5 for x in (range(int(mult_iter)))]
        mult_iter *= mult
    return iter_stack