def extra_settings(self): if self.algorithm == 'sgd' or self.algorithm == 'async_sgd': default_decay_rate(self.decay_rate)