Пример #1
0
 def get_optimizer(self):
     optimizer = DecayedAdagradOptimizer(learning_rate=0.2)
     return optimizer
Пример #2
0
 def get_optimizer_dygraph(self, parameter_list):
     optimizer = DecayedAdagradOptimizer(
         learning_rate=0.2, parameter_list=parameter_list)
     return optimizer