def METHOD_NAME(self):
    epochs = 10
    iters = 5
    warmup_factor = [pow((i + 1) / float(iters), 2) for i in range(iters)]
    single_targets = [x * 0.05 for x in warmup_factor] + [0.05] * (
        epochs - iters)
    targets = [single_targets, [x * epochs for x in single_targets]]
    scheduler = QuadraticWarmupLR(self.optimizer, end=iters)
    self._test_scheduler_value(scheduler, targets, epochs)