Home
last modified time | relevance | path

Searched refs:compute_gradients (Results 1 – 25 of 49) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/eager/python/examples/resnet50/
Dresnet50_test.py53 def compute_gradients(model, images, labels, num_replicas=1): function
129 compute_gradients(model, images, labels))
154 compute_gradients(model, images, labels))
162 compute_gradients(model, images, labels))
279 compute_gradients(model, images, labels))
289 compute_gradients(model, images, labels))
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Drevnet_test.py35 grads, loss = model.compute_gradients(
105 grads, loss = self.model.compute_gradients(
132 compute_gradients = tfe.defun(self.model.compute_gradients)
134 grads, _ = compute_gradients(saved_hidden=saved_hidden, labels=self.t)
160 grads, _ = model.compute_gradients(saved_hidden=saved_hidden, labels=t)
Dmain.py56 model.compute_gradients = tfe.defun(model.compute_gradients)
209 grads, loss = model.compute_gradients(saved_hiddens, labels)
/external/tensorflow/tensorflow/contrib/mixed_precision/python/
Dloss_scale_optimizer.py114 def compute_gradients(self, member in LossScaleOptimizer
135 grads_and_vars = self._opt.compute_gradients(
Dloss_scale_optimizer_test.py107 grads_and_vars = opt.compute_gradients(loss, var_list=[x])
123 grads_and_vars = opt.compute_gradients(loss, var_list=[x])
/external/tensorflow/tensorflow/contrib/opt/python/training/
Ddrop_stale_gradient_optimizer.py63 def compute_gradients(self, loss, *args, **kwargs): member in DropStaleGradientOptimizer
70 return self._opt.compute_gradients(loss, *args, **kwargs)
Dmoving_average_optimizer.py90 def compute_gradients(self, *args, **kwargs): member in MovingAverageOptimizer
91 return self._optimizer.compute_gradients(*args, **kwargs)
Dvariable_clipping_optimizer.py83 def compute_gradients(self, *args, **kwargs): member in VariableClippingOptimizer
84 return self._opt.compute_gradients(*args, **kwargs)
Dmodel_average_optimizer.py149 def compute_gradients(self, *args, **kwargs): member in ModelAverageOptimizer
161 return self._opt.compute_gradients(*args, **kwargs)
Dmoving_average_optimizer_test.py237 def compute_gradients(self, *args, **kwargs): member in MovingAverageOptimizerTest.testCorrectOverride.WrapperOptimizer
239 return super(WrapperOptimizer, self).compute_gradients(
/external/tensorflow/tensorflow/python/tpu/
Dtpu_optimizer.py100 def compute_gradients(self, loss, var_list=None, **kwargs): member in CrossShardOptimizer
140 return self._opt.compute_gradients(loss, var_list=var_list, **kwargs)
Dtpu_embedding_gradient.py44 grads_and_vars = optimizer.compute_gradients(loss, activation_list)
/external/tensorflow/tensorflow/contrib/mpi_collectives/
D__init__.py194 def compute_gradients(self, *args, **kwargs): member in DistributedOptimizer
203 .compute_gradients(*args, **kwargs))
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Doptimizer_v2_test.py171 grads_and_vars = sgd_op.compute_gradients(loss, [var0, var1])
205 grads_and_vars = sgd_op.compute_gradients(f, [x])
256 grads_and_vars = sgd_op.compute_gradients(cost, [var0, var1],
/external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_ptb/
Drnn_ptb_graph_test.py47 grads = rnn_ptb.clip_gradients(optimizer.compute_gradients(loss), 0.25)
133 grads = rnn_ptb.clip_gradients(optimizer.compute_gradients(loss), 0.25)
/external/tensorflow/tensorflow/contrib/eager/python/examples/densenet/
Ddensenet_test.py140 def compute_gradients(model, images, labels): function
292 compute_gradients(model, images, labels))
302 compute_gradients(model, images, labels))
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/
Dexternal_regret_optimizer.py267 grads_and_vars = self.optimizer.compute_gradients(
282 grads_and_vars = self.optimizer.compute_gradients(
/external/tensorflow/tensorflow/python/training/
Dsync_replicas_optimizer.py208 def compute_gradients(self, *args, **kwargs): member in SyncReplicasOptimizer
224 return self._opt.compute_gradients(*args, **kwargs)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-optimizer.pbtxt27 name: "compute_gradients"
Dtensorflow.train.-gradient-descent-optimizer.pbtxt28 name: "compute_gradients"
Dtensorflow.train.-proximal-adagrad-optimizer.pbtxt28 name: "compute_gradients"
Dtensorflow.train.-adagrad-optimizer.pbtxt28 name: "compute_gradients"
Dtensorflow.train.-proximal-gradient-descent-optimizer.pbtxt28 name: "compute_gradients"
Dtensorflow.train.-momentum-optimizer.pbtxt28 name: "compute_gradients"
Dtensorflow.train.-adadelta-optimizer.pbtxt28 name: "compute_gradients"

12