Home
last modified time | relevance | path

Searched refs:x_val (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/
DTestDataFormatterSynthVal.py59 x_val = x.GetValueAsUnsigned
67 (x_val(), y_val(), z_val(), q_val()))
69 self.assertFalse(x_val() == 3, "x == 3 before synthetics")
83 (x_val(), y_val(), z_val(), q_val()))
85 self.assertTrue(x_val() == 3, "x != 3 after synthetics")
/external/tensorflow/tensorflow/compiler/tests/
Dfused_batchnorm_test.py93 x_val = np.random.random_sample(x_shape).astype(np.float32)
100 x_val, scale_val, offset_val, None, None, epsilon,
106 x_val, data_format_src, data_format)
137 x_val = np.random.random_sample(x_shape).astype(np.float32)
147 x_val, scale_val, offset_val, mean_val, var_val_corr, epsilon,
153 x_val, data_format_src, data_format)
226 x_val = np.random.random_sample(x_shape).astype(np.float32)
247 x_val, grad_val, scale_val, mean_val, var_val, epsilon, data_format_src)
253 x_val, data_format_src, data_format)
296 x_val = np.random.random_sample(x_shape).astype(np.float32)
[all …]
Dfifo_queue_test.py176 x_val, y_val = sess.run(dequeued_t)
178 self.assertEqual([x], x_val)
Dconv3d_test.py218 x_val = np.random.random_sample(x_shape).astype(np.float64)
221 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
/external/tensorflow/tensorflow/python/ops/
Dnn_batchnorm_test.py78 x_val = np.random.random_sample(x_shape).astype(np.float32)
85 x = constant_op.constant(x_val, name="x")
103 np_bn = self._npBatchNorm(x_val, m_val, v_val, beta_val, gamma_val,
128 x_val = np.random.random_sample(x_shape).astype(np.float64)
134 x = constant_op.constant(x_val, name="x")
213 x_val = np.random.random_sample(x_shape).astype(np.float32)
221 x = constant_op.constant(x_val, name="x")
265 x_val = np.random.random_sample(x_shape).astype(np.float32)
272 x = constant_op.constant(x_val, name="x")
308 x_val = np.random.random_sample(x_shape).astype(numpy_dtype)
[all …]
Dnn_test.py262 x_val = np.random.random_sample(x_shape).astype(np.float64)
264 x = constant_op.constant(x_val, name="x")
1190 def _test(self, x_val, y_val_expected): argument
1191 x = constant_op.constant(x_val)
1212 x_val = [1, -3, -2]
1214 x = constant_op.constant(x_val)
1221 x_val = [-4, -3, -2, -1, 0, 1, 2, 3]
1223 x = constant_op.constant(x_val)
1230 x_val = [-4, -3, -2, -1, 0, 1, 2, 3]
1232 x = constant_op.constant(x_val)
[all …]
Dnn_fused_batchnorm_test.py69 x_val = np.random.random_sample(x_shape).astype(x_dtype)
76 x = constant_op.constant(x_val, name='x')
150 x_val = np.random.random_sample(x_shape).astype(x_dtype)
161 x = constant_op.constant(x_val, name='x')
232 x_val = np.random.random_sample(x_shape).astype(x_dtype)
237 x = constant_op.constant(x_val, name='x')
262 x32 = constant_op.constant(x_val, name='x32', dtype=dtypes.float32)
296 x_val = np.random.random_sample(x_shape).astype(x_dtype)
302 x = constant_op.constant(x_val, name='x')
351 x32 = constant_op.constant(x_val, dtype=dtypes.float32, name='x32')
/external/libhevc/encoder/
Drc_rd_model.c282 float fl_avg_deviation, fl_estimated_bits, fl_deviation, x_val; in refine_set_of_points() local
295 x_val = pi4_sad_h264[u1_frm_indx] / (float)pui_avg_mpeg2_qp[u1_frm_indx]; in refine_set_of_points()
297 fl_estimated_bits = (pmc_model_coeff[0] * x_val * x_val) + (pmc_model_coeff[1] * x_val) + in refine_set_of_points()
318 x_val = pi4_sad_h264[u1_frm_indx] / (float)pui_avg_mpeg2_qp[u1_frm_indx]; in refine_set_of_points()
320 fl_estimated_bits = (pmc_model_coeff[0] * x_val * x_val) + (pmc_model_coeff[1] * x_val) + in refine_set_of_points()
353 float fl_avg_deviation, fl_estimated_bits, fl_deviation, x_val; in calc_avg_sqr_dev_for_model() local
368 x_val = pi4_sad_h264[u1_frm_indx] / (float)pui_avg_mpeg2_qp[u1_frm_indx]; in calc_avg_sqr_dev_for_model()
370 fl_estimated_bits = (pmc_model_coeff[1] * x_val) + (pmc_model_coeff[2]); in calc_avg_sqr_dev_for_model()
Drc_rd_model_fix.c509 number_t s_avg_deviation, s_estimated_bits, s_deviation, x_val; in refine_set_of_points() local
553 div32_var_q(s_sad_h264, s_avg_mpeg2_qp, &x_val); in refine_set_of_points()
560 mult32_var_q(x_val, x_val, &temp); in refine_set_of_points()
562 mult32_var_q(x_val, ps_model_coeff[1], &temp1); in refine_set_of_points()
622 div32_var_q(s_sad_h264, s_avg_mpeg2_qp, &x_val); in refine_set_of_points()
629 mult32_var_q(x_val, x_val, &temp); in refine_set_of_points()
631 mult32_var_q(x_val, ps_model_coeff[1], &temp1); in refine_set_of_points()
711 number_t s_avg_deviation, s_estimated_bits, s_deviation, x_val; in calc_avg_sqr_dev_for_model() local
756 div32_var_q(s_sad_h264, s_avg_mpeg2_qp, &x_val); in calc_avg_sqr_dev_for_model()
760 mult32_var_q(x_val, ps_model_coeff[1], &s_estimated_bits); in calc_avg_sqr_dev_for_model()
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dsgprcopies.ll26 %x_val = phi float [ %call8, %for.body ], [ %x, %for.body.preheader ]
30 %call7 = tail call float @llvm.fmuladd.f32(float %x_val, float %x_val, float %x) #1
32 %mul = fmul float %x_val, 2.000000e+00
/external/tensorflow/tensorflow/python/kernel_tests/
Drelu_op_test.py435 x_val = [[-0.9, -0.7, -0.5, -0.3, -0.1], [0.1, 0.3, 0.5, 0.7, 0.9]]
436 x = np.asarray(x_val, dtype=np.float32, order="F")
443 x_val = [[-0.9, -0.7, -0.5, -0.3, -0.1], [0.1, 0.3, 0.5, 0.7, 0.9]]
444 x = np.asarray(x_val, dtype=np.float64, order="F")
535 x_val = [[-0.9, -0.7, -0.5, -0.3, -0.1], [0.1, 0.3, 0.5, 0.7, 0.9]]
536 x = np.asarray(x_val, dtype=np.float32, order="F")
543 x_val = [[-0.9, -0.7, -0.5, -0.3, -0.1], [0.1, 0.3, 0.5, 0.7, 0.9]]
544 x = np.asarray(x_val, dtype=np.float64, order="F")
Dsparse_tensor_dense_matmul_op_test.py274 def _sparse_tensor_dense_vs_dense_matmul_benchmark_sparse(x_ind, x_val, x_shape, argument
278 indices=x_ind, values=x_val, dense_shape=x_shape)
360 x_val = constant_op.constant(x[np.where(x)])
364 x_ind, x_val, x_shape, y_t, adjoint_a, adjoint_b)
368 x_val = constant_op.constant(x[np.where(x)])
372 x_ind, x_val, x_shape, y_t, adjoint_a, adjoint_b)
Dconcat_op_test.py418 xs = [constant_op.constant(x_val) for x_val in x_vals]
433 xs = [constant_op.constant(x_val) for x_val in x_vals]
448 xs = [constant_op.constant(x_val) for x_val in x_vals]
464 xs = [constant_op.constant(x_val) for x_val in x_vals]
480 xs = [constant_op.constant(x_val) for x_val in x_vals]
Dpool_test.py295 x_val = -np.arange(
297 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
303 x_init_value=[x_val])
Dconv3d_transpose_test.py213 x_val = np.random.random_sample(x_shape).astype(np.float64)
216 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
Datrous_conv2d_test.py150 x_val = np.random.random_sample(x_shape).astype(np.float32)
152 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
Datrous_convolution_test.py255 x_val = np.random.random_sample(x_shape).astype(np.float32)
257 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
Dconv1d_transpose_test.py140 x_val = np.random.random_sample(x_shape).astype(np.float64)
143 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
/external/tensorflow/tensorflow/python/training/
Dtraining_ops_test.py334 x_val = [np.arange(10), np.arange(10, 20), np.arange(20, 30)]
336 x = np.array(x_val).astype(dtype)
355 x_val = [[1.0], [2.0], [3.0]]
357 x = np.array(x_val).astype(dtype)
371 x_val = [[0.0], [0.0], [0.0]]
374 x = np.array(x_val).astype(dtype)
394 x_val = [[0.0], [0.0], [0.0]]
397 x = np.array(x_val).astype(dtype)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_map_fn_op_test.py245 y_val, x_val = foo
246 bar = array_ops.tile(y_val, array_ops.shape(x_val))
247 return array_ops.stack([bar, x_val], axis=1)
/external/skqp/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp178 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() local
181 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
/external/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp212 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() local
215 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dchlo_ops.cc82 auto x_val = shape_x[i]; in GetBroadcastType() local
84 if (x_val == -1 || y_val == -1) { in GetBroadcastType()
87 out_shape[i] = std::max(x_val, y_val); in GetBroadcastType()
/external/tensorflow/tensorflow/python/grappler/
Dlayout_optimizer_test.py835 x_val = [3.4] * 784
837 output_val_ref = sess.run(output, feed_dict={x: x_val})
843 x: x_val
1838 x_val = [1.7] * 784
1840 output_val_ref = sess.run(output, feed_dict={x: x_val})
1846 x: x_val
1874 x_val = [1.7] * 784
1876 output_val_ref = sess.run(output, feed_dict={h: x_val})
1880 output_val = sess.run(output, run_metadata=metadata, feed_dict={h: x_val})
1912 x_val = [1.7] * 784
[all …]
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_coordinator_test.py321 x_val, y_val = sess.run([x, y])
323 self.assertEqual(x_val, 16.0)
325 if x_val == 16.0 and y_val == 14.0:
354 x_val, y_val = sess.run([x, y])
356 self.assertEqual(x_val, 16.0)
358 if x_val == 16.0 and y_val == 14.0:

123