Beispiel #1
0
 def get_optimizer(self):
     optimizer = FtrlOptimizer(learning_rate=0.1)
     return optimizer
Beispiel #2
0
 def get_optimizer_dygraph(self, parameter_list):
     optimizer = FtrlOptimizer(
         learning_rate=0.1, parameter_list=parameter_list)
     return optimizer