Home
last modified time | relevance | path

Searched refs:x_init_value (Results 1 – 25 of 49) sorted by relevance

12

/external/tensorflow/tensorflow/cc/gradients/
Dnn_grad_test.cc54 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 …]
Dmath_grad_test.cc724 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/
Dgradient_checker.py215 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 …]
Dimage_grad_test.py62 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])
Dnn_grad_test.py37 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)
Dgradient_checker_test.py89 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)
Dmath_grad_test.py48 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/
Drelu_op_test.py86 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 …]
Dpooling_ops_3d_test.py242 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,
Dembedding_ops_test.py483 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)
Dsoftplus_op_test.py85 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)
Dpooling_ops_test.py889 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,
Dreduction_ops_test.py159 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)
Dcwise_ops_test.py116 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 …]
Dlinalg_grad_test.py82 x_init_value=a_np,
131 x_init_value=factor_init,
Dsegment_reduction_ops_test.py241 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),
Dsparse_matmul_op_test.py154 x_init_value=a.eval(),
158 x_init_value=b.eval(),
Dfractional_avg_pool_op_test.py490 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),
Dfractional_max_pool_op_test.py475 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),
Dsoftsign_op_test.py64 x, [2, 5], y, [2, 5], x_init_value=x_init)
Dbatchtospace_op_test.py247 x_init_value=x,
305 x_init_value=x,
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.test.pbtxt25 …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/
Dgradient_checker.cc393 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, \
Dgradient_checker.h58 const Tensor& x_init_value, const Output& y,
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dembedding_ops_test.py761 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)

12