Home
last modified time | relevance | path

Searched refs:gradient_checker (Results 1 – 25 of 97) sorted by relevance

1234

/external/tensorflow/tensorflow/python/ops/
Dgradient_checker_v2_test.py31 gradient_checker_v2 as gradient_checker unknown
54 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
65 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
80 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
97 error = gradient_checker.max_error(*gradient_checker.compute_gradient(
109 analytical, numerical = gradient_checker.compute_gradient(
116 gradient_checker.max_error(*gradient_checker.compute_gradient(
125 analytical, numerical = gradient_checker.compute_gradient(
132 gradient_checker.max_error(*gradient_checker.compute_gradient(
140 for grad in gradient_checker.compute_gradient(f, [x]):
[all …]
Dgradient_checker_test.py28 from tensorflow.python.ops import gradient_checker
61 error = gradient_checker.compute_gradient_error(x1, size, y, size)
76 error = gradient_checker.compute_gradient_error(x1, size, y, size)
94 error = gradient_checker.compute_gradient_error(
112 error = gradient_checker.compute_gradient_error(params, p_shape, y,
134 error = gradient_checker.compute_gradient_error(params, p_shape, y2,
146 analytical, numerical = gradient_checker.compute_gradient(x, size, y,
152 gradient_checker.compute_gradient_error(x, size, y, size), 2e-4)
160 analytical, numerical = gradient_checker.compute_gradient(x, size, y,
166 gradient_checker.compute_gradient_error(x, size, y, size), 2e-5)
[all …]
Dmath_grad_test.py31 from tensorflow.python.ops import gradient_checker
55 left_err = gradient_checker.compute_gradient_error(
57 right_err = gradient_checker.compute_gradient_error(
90 error = gradient_checker.compute_gradient_error(
116 error = gradient_checker.compute_gradient_error(inputs, [1], outputs, [])
124 error = gradient_checker.compute_gradient_error(inputs, [1], outputs, [])
135 error = gradient_checker.compute_gradient_error(inputs, [4], outputs, [4])
143 error = gradient_checker.compute_gradient_error(inputs, [4], outputs, [4])
155 error = gradient_checker.compute_gradient_error(
166 error = gradient_checker.compute_gradient_error(
[all …]
Dimage_grad_test.py26 from tensorflow.python.ops import gradient_checker
65 err = gradient_checker.compute_gradient_error(
81 err = gradient_checker.compute_gradient_error(
97 grad_cpu = gradient_checker.compute_gradient(
104 grad_gpu = gradient_checker.compute_gradient(
135 err = gradient_checker.compute_gradient_error(
149 err = gradient_checker.compute_gradient_error(
172 grad[use_gpu] = gradient_checker.compute_gradient(
229 err = gradient_checker.compute_gradient_error(
245 err = gradient_checker.compute_gradient_error(
[all …]
Dnn_fused_batchnorm_test.py27 from tensorflow.python.ops import gradient_checker
171 theoretical_grad, _ = gradient_checker.compute_gradient(
173 _, numerical_grad = gradient_checker.compute_gradient(
213 err_x = gradient_checker.compute_gradient_error(x, x_shape, y, x_shape)
214 err_scale = gradient_checker.compute_gradient_error(
216 err_offset = gradient_checker.compute_gradient_error(
289 err_grad_grad_y_1 = gradient_checker.compute_gradient_error(
291 err_grad_grad_y_2 = gradient_checker.compute_gradient_error(
293 err_grad_grad_y_3 = gradient_checker.compute_gradient_error(
297 err_grad_x_1 = gradient_checker.compute_gradient_error(
[all …]
Dnn_grad_test.py27 from tensorflow.python.ops import gradient_checker
45 error = gradient_checker.compute_gradient_error(
58 error = gradient_checker.compute_gradient_error(x,
109 error = gradient_checker.compute_gradient_error(x,
Dsparse_ops_test.py30 from tensorflow.python.ops import gradient_checker_v2 as gradient_checker unknown
113 grads = gradient_checker.compute_gradient(
117 self.assertLess(gradient_checker.max_error(*grads), epsilon)
/external/tensorflow/tensorflow/python/kernel_tests/
Dbroadcast_to_ops_test.py26 from tensorflow.python.ops import gradient_checker
136 err = gradient_checker.compute_gradient_error(x, x.get_shape(), out,
147 err = gradient_checker.compute_gradient_error(x, x.get_shape(),
158 err = gradient_checker.compute_gradient_error(x, x.get_shape(),
168 err = gradient_checker.compute_gradient_error(x, x.get_shape(),
181 err = gradient_checker.compute_gradient_error(x, x.get_shape(),
Dsoftplus_op_test.py25 from tensorflow.python.ops import gradient_checker
86 err = gradient_checker.compute_gradient_error(
104 err = gradient_checker.compute_gradient_error(
123 err = gradient_checker.compute_gradient_error(
Dbias_op_test.py27 from tensorflow.python.ops import gradient_checker
150 tensor_jacob_t, tensor_jacob_n = gradient_checker.compute_gradient(
152 bias_jacob_t, bias_jacob_n = gradient_checker.compute_gradient(
158 grad_jacob_t, grad_jacob_n = gradient_checker.compute_gradient(
173 _, tensor_jacob_n = gradient_checker.compute_gradient(input_tensor,
177 _, bias_jacob_n = gradient_checker.compute_gradient(bias_tensor,
184 _, grad_jacob_n = gradient_checker.compute_gradient(output_tensor,
Dconv2d_backprop_filter_grad_test.py27 from tensorflow.python.ops import gradient_checker
62 err = gradient_checker.compute_gradient_error(
98 err = gradient_checker.compute_gradient_error(
Dcross_grad_test.py23 from tensorflow.python.ops import gradient_checker
39 jacob_u, jacob_v = gradient_checker.compute_gradient([u, v], [us, us], s,
Dconv3d_backprop_filter_v2_grad_test.py27 from tensorflow.python.ops import gradient_checker
58 err = gradient_checker.compute_gradient_error(
Dextract_image_patches_grad_test.py28 from tensorflow.python.ops import gradient_checker
101 err = gradient_checker.compute_gradient_error(in_val, in_shape,
Dextract_volume_patches_grad_test.py28 from tensorflow.python.ops import gradient_checker
78 err = gradient_checker.compute_gradient_error(in_val, in_shape,
Dsoftsign_op_test.py25 from tensorflow.python.ops import gradient_checker
65 err = gradient_checker.compute_gradient_error(
Dunstack_op_test.py27 from tensorflow.python.ops import gradient_checker
89 err = gradient_checker.compute_gradient_error(x, shape, cs[i],
103 err = gradient_checker.compute_gradient_error(x, shape, cs[i],
Dreduction_ops_test.py32 from tensorflow.python.ops import gradient_checker
165 jacob_t, jacob_n = gradient_checker.compute_gradient(
382 error = gradient_checker.compute_gradient_error(x, [0, 3], y, [0])
477 error = gradient_checker.compute_gradient_error(x, [0, 3], y, [0])
651 error = gradient_checker.compute_gradient_error(x, [0, 3], y, [0])
737 jacob_t, jacob_n = gradient_checker.compute_gradient(
748 jacob_t, jacob_n = gradient_checker.compute_gradient(
759 jacob_t, jacob_n = gradient_checker.compute_gradient(
770 jacob_t, jacob_n = gradient_checker.compute_gradient(
779 error = gradient_checker.compute_gradient_error(x, [0, 3], y, [0])
[all …]
Ddiag_op_test.py27 from tensorflow.python.ops import gradient_checker
82 error = gradient_checker.compute_gradient_error(x,
184 error_x = gradient_checker.compute_gradient_error(
189 error_x_diag = gradient_checker.compute_gradient_error(
287 error = gradient_checker.compute_gradient_error(x,
533 error = gradient_checker.compute_gradient_error(
554 error = gradient_checker.compute_gradient_error(
Dlinalg_grad_test.py26 from tensorflow.python.ops import gradient_checker
85 theoretical, numerical = gradient_checker.compute_gradient(
135 theoretical, numerical = gradient_checker.compute_gradient(
/external/tensorflow/tensorflow/cc/
DBUILD100 name = "gradient_checker",
101 srcs = ["framework/gradient_checker.cc"],
102 hdrs = ["framework/gradient_checker.h"],
122 ":gradient_checker",
343 ":gradient_checker",
371 ":gradient_checker",
401 ":gradient_checker",
432 ":gradient_checker",
463 ":gradient_checker",
795 ":gradient_checker",
/external/tensorflow/tensorflow/contrib/nn/python/ops/
Dscaled_softplus_test.py25 from tensorflow.python.ops import gradient_checker
59 err = gradient_checker.compute_gradient_error([x_tf, alpha_tf],
64 err_clip = gradient_checker.compute_gradient_error(
/external/tensorflow/tensorflow/python/platform/
Dtest.py40 from tensorflow.python.ops.gradient_checker import compute_gradient_error
41 from tensorflow.python.ops.gradient_checker import compute_gradient
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Dgru_ops_test.py29 from tensorflow.python.ops import gradient_checker
306 error_x = gradient_checker.compute_gradient_error(
308 error_h = gradient_checker.compute_gradient_error(h,
312 error_w_ru = gradient_checker.compute_gradient_error(
315 error_w_c = gradient_checker.compute_gradient_error(
318 error_b_ru = gradient_checker.compute_gradient_error(
320 error_b_c = gradient_checker.compute_gradient_error(
/external/tensorflow/tensorflow/contrib/periodic_resample/python/kernel_tests/
Dperiodic_resample_op_test.py28 from tensorflow.python.ops import gradient_checker
115 error = gradient_checker.compute_gradient_error(

1234