/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | affine_test.py | 48 def dynamic_run(fun, x_value, **kwargs): argument 49 x_value = np.array(x_value) 51 fun(placeholder, **kwargs), feed_dict={placeholder: x_value}) 80 def dynamic_run(fun, x_value, **kwargs): argument 81 x_value = np.array(x_value) 83 fun(placeholder, **kwargs), feed_dict={placeholder: x_value}) 122 x_value = np.array([[1., 1]], dtype=np.float32) 126 x: x_value, 146 def dynamic_run(fun, x_value, **kwargs): argument 147 x_value = np.array(x_value) [all …]
|
D | affine_scalar_test.py | 46 def dynamic_run(fun, x_value, **kwargs): argument 47 x_value = np.array(x_value) 49 return sess.run(fun(x, **kwargs), feed_dict={x: x_value}) 68 def dynamic_run(fun, x_value, **kwargs): argument 69 x_value = np.array(x_value).astype(np.float64) 71 return sess.run(fun(x, **kwargs), feed_dict={x: x_value}) 91 def dynamic_run(fun, x_value, **kwargs): argument 92 x_value = np.array(x_value).astype(np.float64) 94 return sess.run(fun(x, **kwargs), feed_dict={x: x_value}) 114 def dynamic_run(fun, x_value, **kwargs): argument [all …]
|
/external/v8/src/runtime/ |
D | runtime-numbers.cc | 88 CONVERT_SMI_ARG_CHECKED(x_value, 0); in RUNTIME_FUNCTION() 92 if (x_value == y_value) return Smi::FromInt(0); in RUNTIME_FUNCTION() 96 if (x_value == 0 || y_value == 0) in RUNTIME_FUNCTION() 97 return Smi::FromInt(x_value < y_value ? -1 : 1); in RUNTIME_FUNCTION() 105 uint32_t x_scaled = x_value; in RUNTIME_FUNCTION() 107 if (x_value < 0 || y_value < 0) { in RUNTIME_FUNCTION() 109 if (x_value >= 0) return Smi::FromInt(1); in RUNTIME_FUNCTION() 110 x_scaled = -x_value; in RUNTIME_FUNCTION()
|
/external/v8/src/builtins/ |
D | builtins-math-gen.cc | 82 Node* x_value = LoadHeapNumberValue(x); in TF_BUILTIN() local 83 Node* value = Float64Abs(x_value); in TF_BUILTIN() 128 Node* x_value = LoadHeapNumberValue(x); in MathRoundingOperation() local 129 Node* value = (this->*float64op)(x_value); in MathRoundingOperation() 147 Node* x_value = TruncateTaggedToFloat64(context, x); in MathUnaryOperation() local 148 Node* value = (this->*float64op)(x_value); in MathUnaryOperation() 222 Node* x_value = TruncateTaggedToFloat64(context, x); in TF_BUILTIN() local 223 Node* value = Float64Atan2(y_value, x_value); in TF_BUILTIN() 293 Node* x_value = var_clz32_x.value(); in TF_BUILTIN() local 294 Node* value = Word32Clz(x_value); in TF_BUILTIN() [all …]
|
/external/autotest/client/cros/input_playback/ |
D | stylus.py | 45 def replace_with_prefix(self, in_file, out_file, prefix, x_value, y_value): argument 64 line = line.replace(prefix + '_X', str(x_value)) 65 x_value += 1
|
/external/libhevc/encoder/ |
D | rc_rd_model_fix.c | 1283 number_t x_value, s_qp; in find_qp_for_target_bits() local 1299 x_value.sm = 0; in find_qp_for_target_bits() 1300 x_value.e = 0; in find_qp_for_target_bits() 1328 sqrt32_var_q(det, &x_value); in find_qp_for_target_bits() 1333 sub32_var_q(x_value, ps_rd_model->model_coeff_a_quad, &temp); in find_qp_for_target_bits() 1337 div32_var_q(temp, temp1, &x_value); in find_qp_for_target_bits() 1339 if(det.sm < 0 || x_value.sm < 0) in find_qp_for_target_bits() 1353 div32_var_q(temp, ps_rd_model->model_coeff_b_lin, &x_value); in find_qp_for_target_bits() 1354 if(x_value.sm < 0) in find_qp_for_target_bits() 1367 div32_var_q(s_target_res_bits, ps_rd_model->model_coeff_a_lin_wo_int, &x_value); in find_qp_for_target_bits() [all …]
|
D | rc_rd_model.c | 691 float x_value, f_qp; in find_qp_for_target_bits() local 703 x_value = sqrt(det); in find_qp_for_target_bits() 705 x_value = in find_qp_for_target_bits() 706 (x_value - ps_rd_model->model_coeff_a_quad) / (2 * ps_rd_model->model_coeff_b_quad); in find_qp_for_target_bits() 714 x_value = ((float)u4_target_res_bits - ps_rd_model->model_coeff_c_lin) / in find_qp_for_target_bits() 723 x_value = (float)u4_target_res_bits / ps_rd_model->model_coeff_a_lin_wo_int; in find_qp_for_target_bits() 726 if(0 != x_value) in find_qp_for_target_bits() 727 f_qp = u4_estimated_sad / x_value; in find_qp_for_target_bits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/ |
D | extloadv.ll | 3 define void @foo(float* nocapture readonly %x_value, double* nocapture %output) #0 { 4 %1 = bitcast float* %x_value to <4 x float>*
|
/external/llvm/test/CodeGen/NVPTX/ |
D | extloadv.ll | 3 define void @foo(float* nocapture readonly %x_value, double* nocapture %output) #0 { 4 %1 = bitcast float* %x_value to <4 x float>*
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | conv3d_transpose_test.py | 131 x_value = np.random.random_sample(x_shape).astype(np.float64) 134 x_value, f_value, y_shape, strides, data_format='NCDHW') 144 x_value = constant_op.constant( 149 x_value, f_value, constant_op.constant(y_shape, dtype=dtype),
|
/external/libavc/encoder/ |
D | irc_rd_model.c | 368 float x_value = 1.0, f_qp; in irc_find_qp_for_target_bits() local 373 x_value = (float)u4_target_res_bits in irc_find_qp_for_target_bits() 377 if(0 != x_value) in irc_find_qp_for_target_bits() 378 f_qp = u4_estimated_sad / x_value; in irc_find_qp_for_target_bits()
|
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
D | gru_ops_test.py | 74 x_value = np.random.rand(batch_size, input_size) 81 basic_res = sess.run([output], {x: x_value, h: h_value}) 87 block_res = sess.run([output], {x: x_value, h: h_value}) 167 x_value = np.random.rand(batch_size, input_size) 188 ], {x: x_value, 209 ], {x: x_value,
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradients_test.py | 421 def _GetFuncGradients(self, f, x_value, b_value): argument 422 x = constant_op.constant(x_value, name="x") 632 x_value = rng.randn(m, 1).astype("float32") 639 x = constant_op.constant(x_value) 657 x_value = rng.randn(m).astype("float32") 661 x = constant_op.constant(x_value) 678 xs = [constant_op.constant(x_value) for x_value in x_values] 704 x_value = rng.randn(m, m).astype("float32") 706 x = constant_op.constant(x_value) 724 x_value = rng.randn(m, n).astype("float32") [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | betainc_op.cc | 96 auto x_value = x.shaped<T, NDIM>(x_shaper.x_reshape()); \ in Compute() 99 BCast::ToIndexArray<NDIM>(b_shaper.x_bcast()), x_value, \ in Compute()
|
D | quantized_add_op.cc | 225 const int64 x_value = static_cast<int64>(x_data[i]); in VectorAddition() local 226 int64 x_in_output_range_64 = x_0_int64 + (x_value * x_mult_int32); in VectorAddition() 270 const int64 x_value = static_cast<int64>(x_data[i]); in VectorAddition() local 271 int64 x_in_output_range_64 = x_0_int64 + (x_value * x_mult_int32); in VectorAddition()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | matrix_ops_simple_test.cc | 79 auto x_value = in XLA_TYPED_TEST() local 82 Add(x_value, half); in XLA_TYPED_TEST()
|
D | vector_ops_simple_test.cc | 327 auto x_value = in XLA_TEST_F() local 330 Add(x_value, half); in XLA_TEST_F()
|
D | local_client_execute_test.cc | 71 auto x_value = LiteralToShapedBuffer(LiteralUtil::CreateR0<float>(42.0f)); in XLA_TEST_F() local 73 ExecuteLocallyOrDie(builder.Build().ValueOrDie(), {&x_value}); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | collective_all_reduce_strategy_test.py | 301 x_value, reduced_x_value = sess.run([x, reduced_x]) 303 np.allclose(x_value, reduced_x_value, atol=1e-5), 304 msg=('x_value = %r, reduced_x_value = %r' % (x_value, 306 return np.allclose(x_value, reduced_x_value, atol=1e-5)
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | util_test.py | 512 for x_value in (np.ones( 518 self._np_rotate_transpose(x_value, shift_value), 520 feed_dict={x: x_value,
|