Home
last modified time | relevance | path

Searched refs:_compute_gradient (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dgradient_checker.py210 def _compute_gradient(x, function
262 ret = [_compute_gradient(xi, x_shapei, dxi, y, y_shape, dyi, x_init_valuei,
326 ret = _compute_gradient(x, x_shape, dx, y, y_shape, dy, x_init_value, delta,
Dgradient_checker_v2.py259 def _compute_gradient(f, function
292 return zip(*[_compute_gradient(f, y.shape, dtypes.as_dtype(y.dtype),
/external/tensorflow/tensorflow/python/saved_model/
Dload_test.py792 def _compute_gradient(function): function
799 self.assertEqual(2., _compute_gradient(root.f).numpy())
802 self.assertEqual(2., _compute_gradient(imported.f).numpy())