HomeSort by relevance Sort by last modified time
    Searched refs:x_value (Results 1 - 19 of 19) sorted by null

  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
affine_scalar_test.py 46 def dynamic_run(fun, x_value, **kwargs):
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):
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):
92 x_value = np.array(x_value).astype(np.float64
    [all...]
affine_test.py 48 def dynamic_run(fun, x_value, **kwargs):
49 x_value = np.array(x_value)
51 fun(placeholder, **kwargs), feed_dict={placeholder: x_value})
80 def dynamic_run(fun, x_value, **kwargs):
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,
    [all...]
  /external/v8/src/runtime/
runtime-numbers.cc 88 CONVERT_SMI_ARG_CHECKED(x_value, 0);
92 if (x_value == y_value) return Smi::FromInt(0);
96 if (x_value == 0 || y_value == 0)
97 return Smi::FromInt(x_value < y_value ? -1 : 1);
105 uint32_t x_scaled = x_value;
107 if (x_value < 0 || y_value < 0) {
109 if (x_value >= 0) return Smi::FromInt(1);
110 x_scaled = -x_value;
  /external/v8/src/builtins/
builtins-math-gen.cc 82 Node* x_value = LoadHeapNumberValue(x); local
83 Node* value = Float64Abs(x_value);
128 Node* x_value = LoadHeapNumberValue(x); local
129 Node* value = (this->*float64op)(x_value);
147 Node* x_value = TruncateTaggedToFloat64(context, x); local
148 Node* value = (this->*float64op)(x_value);
222 Node* x_value = TruncateTaggedToFloat64(context, x); local
223 Node* value = Float64Atan2(y_value, x_value);
293 Node* x_value = var_clz32_x.value(); local
294 Node* value = Word32Clz(x_value);
339 Node* x_value = TruncateTaggedToFloat64(context, x); local
351 Node* x_value = TruncateTaggedToWord32(context, x); local
445 Node* x_value = TruncateTaggedToFloat64(context, x); local
    [all...]
  /external/autotest/client/cros/input_playback/
stylus.py 45 def replace_with_prefix(self, in_file, out_file, prefix, x_value, y_value):
54 @param x_value: the target value of X.
64 line = line.replace(prefix + '_X', str(x_value))
65 x_value += 1
  /art/test/004-checker-UnsafeTest18/src/
Main.java 42 public int x_value; field in class:Main
310 m.x_value = -1;
322 int local_x = m.x_value;
330 m.x_value = many_times;
  /external/libavc/encoder/
irc_rd_model.c 368 float x_value = 1.0, f_qp; local
373 x_value = (float)u4_target_res_bits
377 if(0 != x_value)
378 f_qp = u4_estimated_sad / x_value;
  /external/tensorflow/tensorflow/python/kernel_tests/
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/libhevc/encoder/
rc_rd_model_fix.c 1283 number_t x_value, s_qp; local
    [all...]
rc_rd_model.c 691 float x_value, f_qp; local
703 x_value = sqrt(det);
705 x_value =
706 (x_value - ps_rd_model->model_coeff_a_quad) / (2 * ps_rd_model->model_coeff_b_quad);
714 x_value = ((float)u4_target_res_bits - ps_rd_model->model_coeff_c_lin) /
723 x_value = (float)u4_target_res_bits / ps_rd_model->model_coeff_a_lin_wo_int;
726 if(0 != x_value)
727 f_qp = u4_estimated_sad / x_value;
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/tests/
matrix_ops_simple_test.cc 79 auto x_value = local
80 Parameter(&builder, 0, ShapeUtil::MakeShapeWithType<T>({}), "x_value");
82 Add(x_value, half);
vector_ops_simple_test.cc 327 auto x_value = local
328 Parameter(&builder, 0, ShapeUtil::MakeShape(F32, {}), "x_value");
330 Add(x_value, half);
local_client_execute_test.cc 71 auto x_value = LiteralToShapedBuffer(LiteralUtil::CreateR0<float>(42.0f)); local
73 ExecuteLocallyOrDie(builder.Build().ValueOrDie(), {&x_value});
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
betainc_op.cc 96 auto x_value = x.shaped<T, NDIM>(x_shaper.x_reshape()); \
99 BCast::ToIndexArray<NDIM>(b_shaper.x_bcast()), x_value, \
quantized_add_op.cc 225 const int64 x_value = static_cast<int64>(x_data[i]); local
226 int64 x_in_output_range_64 = x_0_int64 + (x_value * x_mult_int32);
270 const int64 x_value = static_cast<int64>(x_data[i]); local
271 int64 x_in_output_range_64 = x_0_int64 + (x_value * x_mult_int32);
  /external/tensorflow/tensorflow/python/ops/
gradients_test.py 421 def _GetFuncGradients(self, f, x_value, b_value):
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)
    [all...]
  /external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
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/contrib/distribute/python/
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/
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,
    [all...]

Completed in 4138 milliseconds