def get_optimizer(self):
     optimizer = DpsgdOptimizer(learning_rate=0.01,
                                clip=10.0,
                                batch_size=16.0,
                                sigma=1.0)
     optimizer._seed = 100
     return optimizer
 def get_optimizer_dygraph(self, parameter_list):
     optimizer = DpsgdOptimizer(learning_rate=0.01,
                                clip=10.0,
                                batch_size=16.0,
                                sigma=1.0,
                                parameter_list=parameter_list)
     optimizer._seed = 100
     return optimizer