def METHOD_NAME(self,
                      learning_rate,
                      num_epochs,
                      num_steps_each_epoch,
                      lr_decay_power=0.9):
    decay_step = num_epochs * num_steps_each_epoch
    lr_decay = fluid.layers.polynomial_decay(
        learning_rate,
        decay_step,
        end_learning_rate=0,
        power=lr_decay_power)
    optimizer = fluid.optimizer.Momentum(
        lr_decay,
        momentum=0.9,
        regularization=fluid.regularizer.L2Decay(
            regularization_coeff=5e-04))
    return optimizer