/external/tensorflow/tensorflow/cc/gradients/ |
D | nn_grad_test.cc | 54 void RunTest(const Output& x, const Tensor& x_init_value, const Output& y, in RunTest() argument 58 scope_, x, x_init_value, y, y_shape, &max_error))); in RunTest() 104 Tensor x_init_value = in TEST_F() local 108 RunTest(x, x_init_value, y, shape); in TEST_F() 116 Tensor x_init_value = test::AsTensor<float>( in TEST_F() local 119 RunTest(x, x_init_value, y, shape); in TEST_F() 128 Tensor x_init_value = test::AsTensor<float>( in TEST_F() local 131 RunTest(x, x_init_value, y, shape); in TEST_F() 138 Tensor x_init_value = test::AsTensor<float>( in TEST_F() local 141 RunTest(x, x_init_value, y, shape); in TEST_F() [all …]
|
D | math_grad_test.cc | 724 void RunTest(const Output& x, const Tensor& x_init_value, const Output& y, in RunTest() argument 729 scope_, x, x_init_value, y, y_shape, &max_error))); in RunTest() 760 Tensor x_init_value = in TEST_F() local 762 RunTest(x, x_init_value, y, y_shape); in TEST_F() 771 Tensor x_init_value = in TEST_F() local 773 RunTest(x, x_init_value, y, y_shape); in TEST_F() 882 Tensor x_init_value = in TEST_F() local 884 RunTest(x, x_init_value, y, shape); in TEST_F() 893 Tensor x_init_value = in TEST_F() local 895 RunTest(x, x_init_value, y, shape); in TEST_F()
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradient_checker.py | 215 x_init_value=None, argument 226 if x_init_value is not None: 227 i_shape = list(x_init_value.shape) 230 x_data = x_init_value 247 x_init_value=None, argument 259 if x_init_value is None: 260 x_init_value = [None] * len(x) 264 x_init_value)] 273 x_init_value=None, argument 317 return _compute_gradient_list(x, x_shape, y, y_shape, x_init_value, delta, [all …]
|
D | image_grad_test.py | 62 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 77 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 92 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 99 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 129 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 142 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 159 input_tensor, in_shape, resized_tensor, out_shape, x_init_value=x) 214 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 229 input_tensor, in_shape, resize_out, out_shape, x_init_value=x) 371 x_init_value=[image, boxes])
|
D | nn_grad_test.py | 37 x_init_value = np.array([[-3.5, -1.5, 2, 4], [4.5, 7.5, 8.5, 11]]) 46 x_init_value=x_init_value)
|
D | gradient_checker_test.py | 89 x_init_value = np.asarray(np.arange(6, dtype=np.float64).reshape(2, 3)) 91 x2, size, y, size, x_init_value=x_init_value, delta=1e-2)
|
D | math_grad_test.py | 48 left_tensor, left_shape, output, output_shape, x_init_value=l) 50 right_tensor, right_shape, output, output_shape, x_init_value=r)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | relu_op_test.py | 86 x, [2, 5], y, [2, 5], x_init_value=x_init) 103 x, [2, 5], y, [2, 5], x_init_value=x_init) 120 x, [2, 5], z[0], [2, 5], x_init_value=x_init) 138 x, [2, 5], z[0], [2, 5], x_init_value=x_init) 202 x, [2, 5], y, [2, 5], x_init_value=x_init) 219 x, [2, 5], y, [2, 5], x_init_value=x_init) 261 x, [2, 5], y, [2, 5], x_init_value=x_init) 272 x, [2, 5], y, [2, 5], x_init_value=x_init) 300 x, [2, 5], z[0], [2, 5], x_init_value=x_init) 318 x, [2, 5], z[0], [2, 5], x_init_value=x_init) [all …]
|
D | pooling_ops_3d_test.py | 242 x_init_value = None 244 x_init_value = np.asfarray(np.arange(1, total_size + 1), 271 x_init_value=x_init_value, 278 x_init_value=x_init_value,
|
D | embedding_ops_test.py | 483 x_init_value = [params[x_n + ":0"] for x_n in x_name] 484 x_shape = [i.shape for i in x_init_value] 486 x, x_shape, y, y_shape, x_init_value=x_init_value) 503 x_init_value = [params[x_n + ":0"] for x_n in x_name] 504 x_shape = [i.shape for i in x_init_value] 506 x, x_shape, y, y_shape, x_init_value=x_init_value) 715 x_init_value = [params[x_n + ":0"] for x_n in x_name] 716 x_shape = [i.shape for i in x_init_value] 719 x, x_shape, y, y_shape, x_init_value=x_init_value)
|
D | softplus_op_test.py | 85 x, [2, 5], y, [2, 5], x_init_value=x_init) 102 x, [2, 5], grad, [2, 5], x_init_value=x_init) 120 x, [2, 5], grad_grad, [2, 5], x_init_value=x_init)
|
D | pooling_ops_test.py | 889 x_init_value=None): argument 920 if x_init_value is None: 921 x_init_value = np.asfarray( 949 x_init_value=x_init_value, 965 x_init_value=None): argument 996 if x_init_value is None: 997 x_init_value = np.asfarray( 1026 x_init_value=x_init_value,
|
D | reduction_ops_test.py | 159 t, x.shape, su, su.get_shape().as_list(), x_init_value=x, delta=1) 622 t, s, su, [2, 2], x_init_value=x, delta=1) 632 t, s, su, [2, 4, 2], x_init_value=x, delta=1) 642 t, s, su, [2, 3, 2], x_init_value=x, delta=1) 652 t, s, su, [1], x_init_value=x, delta=1) 749 t, s, su, [2, 2], x_init_value=x, delta=1) 759 t, s, su, [2, 4, 2], x_init_value=x, delta=1) 769 t, s, su, [2, 3, 2], x_init_value=x, delta=1) 779 t, s, su, [1], x_init_value=x, delta=1)
|
D | cwise_ops_test.py | 116 inx, s, y, s, x_init_value=x) 121 inxf, s, yf, s, x_init_value=xf, delta=1e-2) 127 inx, s, y, s, x_init_value=x, delta=1e-3) 132 inx, s, y, s, x_init_value=x, delta=1e-5) 522 x_init_value=[rand(dtype), rand(dtype)]) 585 inx, xs, out, zs, x_init_value=x) 593 inxf, xs, outf, zs, x_init_value=xf, delta=1e-3) 615 iny, ys, out, zs, x_init_value=y) 623 inyf, ys, outf, zs, x_init_value=yf) 1446 inx, s, out, s, x_init_value=x) [all …]
|
D | linalg_grad_test.py | 82 x_init_value=a_np, 131 x_init_value=factor_init,
|
D | segment_reduction_ops_test.py | 241 x_init_value=np_x.astype(np.double), 341 x_init_value=np_x, 365 values_tf, (9,), s, (3,), x_init_value=values, delta=1) 389 x_init_value=np_x, delta=1)) 397 x_init_value=np_x, 724 x_init_value=np_x.astype(np.double), 750 x_init_value=np_x.astype(np.double),
|
D | sparse_matmul_op_test.py | 154 x_init_value=a.eval(), 158 x_init_value=b.eval(),
|
D | fractional_avg_pool_op_test.py | 490 x_init_value=input_data.reshape(input_shape), 523 x_init_value=input_data.reshape(input_shape), 552 x_init_value=input_data.reshape(input_shape),
|
D | fractional_max_pool_op_test.py | 475 x_init_value=input_data.reshape(input_shape), 510 x_init_value=input_data.reshape(input_shape), 541 x_init_value=input_data.reshape(input_shape),
|
D | softsign_op_test.py | 64 x, [2, 5], y, [2, 5], x_init_value=x_init)
|
D | batchtospace_op_test.py | 247 x_init_value=x, 305 x_init_value=x,
|
/external/tensorflow/tensorflow/tools/api/golden/ |
D | tensorflow.test.pbtxt | 25 …argspec: "args=[\'x\', \'x_shape\', \'y\', \'y_shape\', \'x_init_value\', \'delta\', \'init_target… 29 …argspec: "args=[\'x\', \'x_shape\', \'y\', \'y_shape\', \'x_init_value\', \'delta\', \'init_target…
|
/external/tensorflow/tensorflow/cc/framework/ |
D | gradient_checker.cc | 393 const Tensor& x_init_value, const Output& y, in ComputeGradientError() argument 396 std::vector<Tensor> x_datas(1, Tensor(x_init_value)); in ComputeGradientError() 408 const Scope& scope, const Output& x, const Tensor& x_init_value, \
|
D | gradient_checker.h | 58 const Tensor& x_init_value, const Output& y,
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | embedding_ops_test.py | 761 x_init_value = [params[x_n + ":0"] for x_n in x_name] 762 x_shape = [i.shape for i in x_init_value] 765 x, x_shape, y, y_shape, x_init_value=x_init_value)
|