Home
last modified time | relevance | path

Searched refs:apply_gradients (Results 1 – 25 of 130) sorted by relevance

123456

/external/tensorflow/tensorflow/python/training/
Dadagrad_test.py61 ada_update = ada_opt.apply_gradients(
75 ada_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
130 ada_update = ada_opt.apply_gradients(
164 ada_update = ada_opt.apply_gradients(
197 repeated_update = adagrad.AdagradOptimizer(3.0).apply_gradients(
199 aggregated_update = adagrad.AdagradOptimizer(3.0).apply_gradients(
257 ada_update = ada_opt.apply_gradients(zip([grads0], [var0]))
284 ada_update1 = ada_opt.apply_gradients(
286 ada_update2 = ada_opt.apply_gradients(
323 ada_update = ada_opt.apply_gradients(
[all …]
Dadam_test.py83 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
146 repeated_update = adam.AdamOptimizer().apply_gradients(
148 aggregated_update = adam.AdamOptimizer().apply_gradients(
194 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
226 opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
274 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
314 update1 = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
315 update2 = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
350 optimizer.apply_gradients([(grads0, var0)])
357 optimizer.apply_gradients([(grads0, var0)])
[all …]
Dftrl_test.py58 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
96 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
148 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
175 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
207 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
238 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
277 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
315 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
352 update0 = opt0.apply_gradients([(grads0, var0)])
353 update1 = opt1.apply_gradients([(grads1, var1)])
[all …]
Dgradient_descent_test.py47 sgd_op = optimizer.apply_gradients(
70 sgd_op = gradient_descent.GradientDescentOptimizer(3.0).apply_gradients(
97 sgd_op = gradient_descent.GradientDescentOptimizer(lr).apply_gradients(
180 lrate).apply_gradients(zip([grads0, grads1], [var0, var1]))
214 sgd_op = gradient_descent.GradientDescentOptimizer(3.0).apply_gradients(
245 sgd_op = gradient_descent.GradientDescentOptimizer(3.0).apply_gradients(
268 optimizer.apply_gradients([(grad, self.v)])
Dproximal_adagrad_test.py49 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
87 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
133 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
160 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
195 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
Dadagrad_da_test.py55 update = opt.apply_gradients(
121 update = opt.apply_gradients(
153 update = opt.apply_gradients(
185 update = opt.apply_gradients(
Dproximal_gradient_descent_test.py50 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
80 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
123 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
158 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
Dmomentum_test.py68 mom_update = mom_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
103 mom_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
221 opt_update = mom_op.apply_gradients(grads_and_vars)
297 mom_update = mom_opt.apply_gradients(
455 mom_update = mom_opt.apply_gradients(zip([grads0], [var0]))
475 mom_update = mom_opt.apply_gradients(
549 mom_update1 = mom_opt.apply_gradients(
551 mom_update2 = mom_opt.apply_gradients(
/external/tensorflow/tensorflow/compiler/tests/
Dftrl_test.py50 ftrl_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
65 adagrad_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
85 ftrl_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
100 sgd_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
124 ftrl_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
158 ftrl_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
191 ftrl_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
225 ftrl_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
264 ftrl_update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
304 update0 = opt0.apply_gradients([(grads0, var0)])
[all …]
Dproximal_gradient_descent_test.py42 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
64 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
86 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
108 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
127 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
Dproximal_adagrad_test.py45 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
76 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
100 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
124 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
143 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
Dadagrad_test.py41 ada_update = ada_opt.apply_gradients(
69 ada_update = ada_opt.apply_gradients(
98 ada_update1 = ada_opt.apply_gradients(
100 ada_update2 = ada_opt.apply_gradients(
Dadagrad_da_test.py49 update = opt.apply_gradients(
86 update = opt.apply_gradients(
117 update = opt.apply_gradients(
148 update = opt.apply_gradients(
Dadam_test.py74 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
117 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
160 update1 = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
161 update2 = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dadam_test.py135 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
191 repeated_update = adam.Adam().apply_gradients(
193 aggregated_update = adam.Adam().apply_gradients(
231 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
244 opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
279 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
292 opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
325 repeated_update = opt_repeated.apply_gradients(
327 aggregated_update = opt_aggregated.apply_gradients(
338 opt_repeated.apply_gradients(
[all …]
Dadagrad_test.py95 ada_update = ada_opt.apply_gradients(
109 ada_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
145 ada_update = ada_opt.apply_gradients(
159 ada_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
186 ada_update = ada_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
199 ada_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
229 ada_update = ada_opt.apply_gradients(
243 ada_opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
290 ada_update = ada_opt.apply_gradients(zip([grads0, grads1],
329 ada_update = ada_opt.apply_gradients(zip([grads0, grads1],
[all …]
Dadamax_test.py105 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
161 repeated_update = adamax.Adamax().apply_gradients(
163 aggregated_update = adamax.Adamax().apply_gradients(
196 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
212 opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
244 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
260 opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
291 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
328 update1 = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
329 update2 = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
Dftrl_test.py54 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
91 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
143 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
169 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
200 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
230 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
268 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
305 update = opt.apply_gradients(zip([grads0, grads1], [var0, var1]))
341 update0 = opt0.apply_gradients([(grads0, var0)])
342 update1 = opt1.apply_gradients([(grads1, var1)])
[all …]
Dgradient_descent_test.py50 sgd_op = sgd.apply_gradients(zip([grads0, grads1], [var0, var1]))
66 sgd_op = sgd.apply_gradients(zip([grads0, grads1], [var0, var1]))
72 sgd.apply_gradients(zip([grads0, grads1], [var0, var1]))
82 sgd.apply_gradients(zip([grads0, grads1], [var0, var1]))
125 sgd_op = sgd.apply_gradients(zip([grads0, grads1], [var0, var1]))
183 sgd_op = gradient_descent.SGD(lrate).apply_gradients(
219 sgd_op = gradient_descent.SGD(3.0).apply_gradients(
243 3.0, decay=0.5).apply_gradients(
275 optimizer.apply_gradients([(grad, var_holder["var"])])
319 mom_update = mom_opt.apply_gradients(
[all …]
/external/tensorflow/tensorflow/python/keras/distribute/
Dcustom_training_loop_optimizer_test.py64 optimizer.apply_gradients(
91 optimizer.apply_gradients(
114 optimizer.apply_gradients([(grads, v)],
Dcustom_training_loop_models_test.py108 optimizer.apply_gradients(zip(grads, model.variables))
146 optimizer.apply_gradients(zip(grads, model.variables))
171 optimizer.apply_gradients(zip(grads, model.variables))
203 optimizer.apply_gradients(zip(grads, model.variables))
249 optimizer.apply_gradients(zip(grads, model.variables))
300 optimizer.apply_gradients(zip(grads, model.variables))
317 optimizer.apply_gradients(zip(grads, model2.variables))
356 optimizer.apply_gradients(zip(grads, model.variables))
435 optimizer.apply_gradients(zip(gradients, trainable_variables))
/external/tensorflow/tensorflow/python/keras/tests/
Dtracking_util_test.py121 optimizer.apply_gradients(zip(gradients, variables)),
128 optimizer.apply_gradients(zip(gradients, variables))
210 train_op = optimizer.apply_gradients(zip(gradients, variables))
287 optimizer.apply_gradients(zip(gradients, variables))
309 train_op = optimizer.apply_gradients(zip(gradients, variables))
346 return optimizer.apply_gradients(zip(gradients, variables))
417 return optimizer.apply_gradients(zip(gradients, model.variables))
462 optimizer.apply_gradients(
476 train_op = optimizer.apply_gradients(zip(gradients, variables))
520 train_op = new_root.optimizer.apply_gradients(zip(gradients, variables))
[all …]
/external/tensorflow/tensorflow/python/eager/benchmarks/resnet50/
Dresnet50_test.py54 def apply_gradients(model, optimizer, gradients): function
55 optimizer.apply_gradients(zip(gradients, model.variables))
211 apply_gradients(model, optimizer,
239 apply_gradients(model, optimizer,
247 apply_gradients(model, optimizer,
359 apply_grads = apply_gradients
362 apply_grads = tf.function(apply_gradients)
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale_optimizer.py156 def apply_gradients(self, grads_and_vars, global_step=None, name=None): member in MixedPrecisionLossScaleOptimizer
182 return self._optimizer.apply_gradients(grads_and_vars, global_step, name)
231 self._optimizer.apply_gradients,
/external/tensorflow/tensorflow/python/keras/premade/
Dwide_deep.py129 linear_optimizer.apply_gradients(zip(linear_grads, linear_vars))
130 dnn_optimizer.apply_gradients(zip(dnn_grads, dnn_vars))
134 self.optimizer.apply_gradients(zip(grads, trainable_variables))

123456