(self, begin, end, n)
Construct an instance of `IntervalLR`.

        :param begin: Starting learning rate (LR).
        :type begin: `float`
        :param end: Ending LR.
        :type end: `float`
        :param n: Number of iterations.
        :type n: `int`
Construct an instance of `IntervalLR`.
Construct an instance of IntervalLR .
def __init__(self, begin, end, n):
        """
        Construct an instance of `IntervalLR`.

        :param begin: Starting learning rate (LR).
        :type begin: `float`
        :param end: Ending LR.
        :type end: `float`
        :param n: Number of iterations.
        :type n: `int`
        """
        self.alpha = np.exp((np.log(end) - np.log(begin)) / n)
        self.lr = begin
def __init__ ( self , begin , end , n ) : self . alpha = np . exp ( ( np . log ( end ) - np . log ( begin ) ) / n ) self . lr = begin