Home
last modified time | relevance | path

Searched refs:_compute_gradients (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer.py677 def _compute_gradients(self, loss, var_list, grad_loss=None, tape=None): member in LossScaleOptimizer
681 grads_and_vars = self._optimizer._compute_gradients( # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py531 grads_and_vars = self._compute_gradients(
535 def _compute_gradients(self, loss, var_list, grad_loss=None, tape=None): member in OptimizerV2
Doptimizer_v2_test.py207 grads_and_vars = sgd._compute_gradients(loss, [var0, var1])
246 grads_and_vars = sgd._compute_gradients(f, [x])
Dgradient_descent_test.py202 grads_and_vars = opt._compute_gradients(loss, vars_)