Home
last modified time | relevance | path

Searched refs:implicit_grad (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dfunction_gradients_test.py73 return backprop.implicit_grad(inner)()[0][0]
266 return backprop.implicit_grad(inner)()[0][0]
326 self.assertAllEqual(backprop.implicit_grad(f)()[0][0], 2.0)
335 self.assertAllEqual(backprop.implicit_grad(f)()[0][0], 2.0)
337 self.assertAllEqual(backprop.implicit_grad(f)()[0][0], 2.0)
402 g = backprop.implicit_grad(g)(constant_op.constant(1.0))[0][0]
429 grad_fn = backprop.implicit_grad(sum_gather)
431 defun_grad_fn = backprop.implicit_grad(def_function.function(sum_gather))
Dbackprop_test.py129 grads_and_vars = backprop.implicit_grad(fn)()
279 grad = backprop.implicit_grad(f)()[0][0]
310 grads = backprop.implicit_grad(f)()
647 self.assertEqual(backprop.implicit_grad(f)()[0][0].cpu().numpy(), 1.0)
694 self.assertEqual(backprop.implicit_grad(f)()[0][0], None)
1177 grad = backprop.implicit_grad(fn)()[0][0]
1244 g = backprop.implicit_grad(f)
Dbackprop.py259 def implicit_grad(f): function
/external/tensorflow/tensorflow/python/distribute/
Dstep_fn.py99 gradients_fn = backprop.implicit_grad(self._loss_fn)
Dstrategy_test_lib.py155 grad_fn = backprop.implicit_grad(loss)
213 grad_fn = backprop.implicit_grad(loss)
/external/tensorflow/tensorflow/python/framework/
Dauto_control_deps_test.py749 grad = backprop.implicit_grad(loss)(self.v)
760 grad = backprop.implicit_grad(lambda v: v**2)(v)
779 grad = backprop.implicit_grad(loss)(self.v)
794 grad = backprop.implicit_grad(loss)()
/external/tensorflow/tensorflow/python/keras/distribute/
Dmirrored_strategy_test.py78 gradients_fn = backprop.implicit_grad(loss_fn)
/external/tensorflow/tensorflow/python/keras/feature_column/
Ddense_features_v2_test.py139 grad_function = backprop.implicit_grad(scale_matrix)
Ddense_features_test.py196 grad_function = backprop.implicit_grad(scale_matrix)
/external/tensorflow/tensorflow/compiler/tests/
Deager_test.py174 grads = backprop.implicit_grad(f)()
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_v2_test.py2384 grad_function = backprop.implicit_grad(scale_matrix)
Dfeature_column_test.py2697 grad_function = backprop.implicit_grad(scale_matrix)