(self, begin, schedule, gamma=0.1)
Construct an instance of `DecayedLR`.

        :param begin: Starting LR.
        :type begin: `float`
        :param schedule: List of iterations when LR must be adjusted.
        :type schedule: `List/Tuple`
        :param gamma: LR multiplier.
        :type gamma: `float`
Construct an instance of `DecayedLR`.
Construct an instance of DecayedLR .
def __init__(self, begin, schedule, gamma=0.1):
        """
        Construct an instance of `DecayedLR`.

        :param begin: Starting LR.
        :type begin: `float`
        :param schedule: List of iterations when LR must be adjusted.
        :type schedule: `List/Tuple`
        :param gamma: LR multiplier.
        :type gamma: `float`
        """
        self.gamma = gamma
        self.lr = begin
        self.schedule = schedule
        self.counter = 0
def __init__ ( self , begin , schedule , gamma = 0.1 ) : self . gamma = gamma self . lr = begin self . schedule = schedule self . counter = 0