Home
last modified time | relevance | path

Searched refs:compute_gradient (Results 1 – 25 of 72) sorted by relevance

123

/external/tensorflow/tensorflow/python/ops/
Dgradient_checker_v2_test.py61 *gradient_checker.compute_gradient(sparse_tensor_reshape, [x]))
75 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
85 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
95 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
104 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
114 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
131 *gradient_checker.compute_gradient(f, [params]))
150 *gradient_checker.compute_gradient(f, [params]))
163 analytical, numerical = gradient_checker.compute_gradient(f, [x])
169 gradient_checker.max_error(*gradient_checker.compute_gradient(f, [x])),
[all …]
Dimage_grad_test_base.py71 *gradient_checker_v2.compute_gradient(
88 *gradient_checker_v2.compute_gradient(
106 grad_cpu = gradient_checker_v2.compute_gradient(
111 grad_gpu = gradient_checker_v2.compute_gradient(
153 return gradient_checker_v2.compute_gradient(func, [input_tensor])
313 *gradient_checker_v2.compute_gradient(func, [input_tensor]))
332 *gradient_checker_v2.compute_gradient(func, [input_tensor]))
389 *gradient_checker_v2.compute_gradient(scale_trans,
539 *gradient_checker_v2.compute_gradient(
543 *gradient_checker_v2.compute_gradient(
[all …]
Dmath_grad_test.py200 grad = gradient_checker_v2.compute_gradient(
208 grad = gradient_checker_v2.compute_gradient(
216 grad = gradient_checker_v2.compute_gradient(
224 grad = gradient_checker_v2.compute_gradient(
232 grad = gradient_checker_v2.compute_gradient(
266 grads = gradient_checker_v2.compute_gradient(
274 grads = gradient_checker_v2.compute_gradient(
282 grads = gradient_checker_v2.compute_gradient(
290 grads = gradient_checker_v2.compute_gradient(
299 grads = gradient_checker_v2.compute_gradient(
[all …]
Dspecial_math_ops_test.py221 analytical, numerical = gradient_checker_v2.compute_gradient(
263 analytical, numerical = gradient_checker_v2.compute_gradient(
308 analytical, numerical = gradient_checker_v2.compute_gradient(
353 analytical, numerical = gradient_checker_v2.compute_gradient(
396 analytical, numerical = gradient_checker_v2.compute_gradient(
401 analytical, _ = gradient_checker_v2.compute_gradient(
582 analytical, numerical = gradient_checker_v2.compute_gradient(
586 analytical, numerical = gradient_checker_v2.compute_gradient(
590 analytical, numerical = gradient_checker_v2.compute_gradient(
594 analytical, numerical = gradient_checker_v2.compute_gradient(
[all …]
Dgradient_checker.py277 def compute_gradient(x, function
393 grad = compute_gradient(x, x_shape, y, y_shape, x_init_value, delta,
/external/tensorflow/tensorflow/python/kernel_tests/
Drelu_op_test.py120 err = gradient_checker_v2.max_error(*gradient_checker_v2.compute_gradient(
133 *gradient_checker_v2.compute_gradient(nn_ops.relu, [x]))
142 err = gradient_checker_v2.max_error(*gradient_checker_v2.compute_gradient(
161 *gradient_checker_v2.compute_gradient(f, [x], delta=1.0 / 1024))
179 *gradient_checker_v2.compute_gradient(f, [x], delta=1.0 / 1024))
203 z = list(gradient_checker_v2.compute_gradient(f, [x]))[0][0]
257 *gradient_checker_v2.compute_gradient(nn_ops.relu6, [x]))
267 *gradient_checker_v2.compute_gradient(nn_ops.relu6, [x]))
322 *gradient_checker_v2.compute_gradient(nn_ops.leaky_relu, [x]))
332 *gradient_checker_v2.compute_gradient(nn_ops.leaky_relu, [x]))
[all …]
Dbroadcast_to_ops_test.py139 *gradient_checker_v2.compute_gradient(func, [x]))
152 *gradient_checker_v2.compute_gradient(func, [x], delta=1e-2))
165 *gradient_checker_v2.compute_gradient(func, [x]))
177 *gradient_checker_v2.compute_gradient(func, [x]))
192 *gradient_checker_v2.compute_gradient(func, [x], delta=1e-2))
Dlinalg_grad_test.py90 theoretical, numerical = gradient_checker_v2.compute_gradient(
136 theoretical, numerical = gradient_checker_v2.compute_gradient(
141 theoretical, numerical = gradient_checker_v2.compute_gradient(
174 theoretical, numerical = gradient_checker_v2.compute_gradient(
179 theoretical, numerical = gradient_checker_v2.compute_gradient(
Dbias_op_base.py174 input_jacob_a, input_jacob_n = gradient_checker_v2.compute_gradient(
176 bias_jacob_a, bias_jacob_n = gradient_checker_v2.compute_gradient(
188 grad_jacob_a, grad_jacob_n = gradient_checker_v2.compute_gradient(
193 jacobians = gradient_checker.compute_gradient([input_tensor, bias_tensor],
200 grad_jacob_a, grad_jacob_n = gradient_checker.compute_gradient(
Dcumulative_logsumexp_test.py79 grad_naive_theoretical, _ = gradient_checker_v2.compute_gradient(
81 grad_fused_theoretical, _ = gradient_checker_v2.compute_gradient(
Dmorphological_ops_test.py223 *gradient_checker_v2.compute_gradient(
226 *gradient_checker_v2.compute_gradient(
499 *gradient_checker_v2.compute_gradient(
502 *gradient_checker_v2.compute_gradient(
Dcross_grad_test.py39 jacob_u, jacob_v = gradient_checker.compute_gradient([u, v], [us, us], s,
Dsegment_reduction_ops_test.py251 jacob_t, jacob_n = gradient_checker.compute_gradient(
365 jacob_t, jacob_n = gradient_checker.compute_gradient(
392 gradient_checker_v2.compute_gradient(
418 jacob_t, jacob_n = gradient_checker.compute_gradient(
442 gradient_checker.compute_gradient(tf_x, shape, unsorted_s,
448 sorted_jacob_t, sorted_jacob_n = gradient_checker.compute_gradient(
816 jacob_t, jacob_n = gradient_checker.compute_gradient(
843 jacob_t, jacob_n = gradient_checker.compute_gradient(
Dcwise_ops_test.py359 jacob_t, jacob_n = gradient_checker.compute_gradient(
367 _, jacob_n = gradient_checker.compute_gradient(
383 jacob_t, jacob_n = gradient_checker.compute_gradient(
391 _, jacob_n = gradient_checker.compute_gradient(
656 jacob_t, jacob_n = gradient_checker.compute_gradient(
664 _, jacob_n = gradient_checker.compute_gradient(
680 jacob_t, jacob_n = gradient_checker.compute_gradient(
688 _, jacob_n = gradient_checker.compute_gradient(
802 jacob_t, jacob_n = gradient_checker.compute_gradient(
817 jacob_t, jacob_n = gradient_checker.compute_gradient(
[all …]
Dtranspose_op_test.py63 jacob_t, jacob_n = gradient_checker.compute_gradient(inx, xs, y, ys, x,
67 jacob_t, jacob_n = gradient_checker.compute_gradient(inx, xs, y, ys, x,
95 jacob_t, jacob_n = gradient_checker.compute_gradient(inx, xs, y, ys, x,
99 jacob_t, jacob_n = gradient_checker.compute_gradient(inx, xs, y, ys, x,
Dextract_volume_patches_grad_test.py79 rtn = gradient_checker_v2.compute_gradient(extract, [input_val])
Dreduction_ops_test.py184 jacob_t, jacob_n = gradient_checker.compute_gradient(
800 jacob_t, jacob_n = gradient_checker.compute_gradient(
811 jacob_t, jacob_n = gradient_checker.compute_gradient(
822 jacob_t, jacob_n = gradient_checker.compute_gradient(
833 jacob_t, jacob_n = gradient_checker.compute_gradient(
930 jacob_t, jacob_n = gradient_checker.compute_gradient(
941 jacob_t, jacob_n = gradient_checker.compute_gradient(
952 jacob_t, jacob_n = gradient_checker.compute_gradient(
963 jacob_t, jacob_n = gradient_checker.compute_gradient(
Dtridiagonal_matmul_op_test.py118 grad_reference, _ = gradient_checker_v2.compute_gradient(
120 grad_theoretical, grad_numerical = gradient_checker_v2.compute_gradient(
Dmatmul_op_test.py133 theoretical, numerical = gradient_checker_v2.compute_gradient(
139 theoretical, numerical = gradient_checker_v2.compute_gradient(
/external/tensorflow/tensorflow/python/ops/v1_compat_tests/
Dgradient_checker_test.py146 analytical, numerical = gradient_checker.compute_gradient(x, size, y,
160 analytical, numerical = gradient_checker.compute_gradient(x, size, y,
173 for grad in gradient_checker.compute_gradient(x, (0, 3), y, (0, 3)):
186 gradient_checker.compute_gradient(x, (0, 3), y, (0, 3))
/external/libaom/libaom/av1/encoder/
Dglobal_motion.c713 int compute_gradient) { in alloc_pyramid() argument
715 pyr->has_gradient = compute_gradient; in alloc_pyramid()
723 if (compute_gradient) { in alloc_pyramid()
941 int compute_gradient = 1; in compute_global_motion_disflow_based() local
943 alloc_pyramid(frm_width, frm_height, pad_size, compute_gradient); in compute_global_motion_disflow_based()
945 pad_size, compute_gradient, frm_pyr); in compute_global_motion_disflow_based()
947 compute_gradient = 0; in compute_global_motion_disflow_based()
949 alloc_pyramid(ref_width, ref_height, pad_size, compute_gradient); in compute_global_motion_disflow_based()
951 n_levels, pad_size, compute_gradient, ref_pyr); in compute_global_motion_disflow_based()
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Dscatter_nd_ops_test.py804 theoretical, numerical = gradient_checker_v2.compute_gradient(
807 theoretical, numerical = gradient_checker_v2.compute_gradient(
810 theoretical, numerical = gradient_checker_v2.compute_gradient(
814 theoretical, numerical = gradient_checker_v2.compute_gradient(
818 theoretical, numerical = gradient_checker_v2.compute_gradient(
822 theoretical, numerical = gradient_checker_v2.compute_gradient(
850 theoretical, _ = gradient_checker_v2.compute_gradient(
859 theoretical, _ = gradient_checker_v2.compute_gradient(
865 theoretical, _ = gradient_checker_v2.compute_gradient(
874 theoretical, _ = gradient_checker_v2.compute_gradient(
Dunstack_op_test.py124 *gradient_checker_v2.compute_gradient(func, [x]))
138 *gradient_checker_v2.compute_gradient(func, [x]))
/external/tensorflow/tensorflow/python/platform/
Dtest.py35 from tensorflow.python.ops.gradient_checker import compute_gradient
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.test.pbtxt20 name: "compute_gradient"

123