def apply_1overt_decay(params, t):
    """
    Implements the mathematical form: a = a0 / (1 + k*t). 

    Args:
        params: parameters for the annealing
        t: iteration number (or you can use number of epochs)

    Returns:
        Updated learning rate
    """
    a0 = params['lr0']  # initial learning rate
    k = params['k']  # decay factor
    return a0 * 1. / (1 + k*t)