Home
last modified time | relevance | path

Searched refs:ref_val (Results 1 – 3 of 3) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Dgem_render_copy.c474 uint32_t buf_val, ref_val; in scratch_buf_check() local
486 ref_val = linear[y * width + x]; in scratch_buf_check()
489 igt_assert_f(buf_val == ref_val, in scratch_buf_check()
491 ref_val, buf_val, x, y); in scratch_buf_check()
513 uint32_t ref_val = linear_ref[y * width + x]; in scratch_buf_check_all() local
515 igt_assert_f(buf_val == ref_val, in scratch_buf_check_all()
517 ref_val, buf_val, x, y); in scratch_buf_check_all()
/external/tensorflow/tensorflow/core/kernels/
Dquantized_resize_bilinear_op_test.cc167 const float ref_val = QuantizedToFloat<T>(ref_qval, min, max); in CheckTensorValue() local
173 << "ref = " << ref_val << ", val = " << val << ", " << b << ", " in CheckTensorValue()
177 const float rel_tolerance = std::max(ref_val, 1.0f) * tolerance; in CheckTensorValue()
178 EXPECT_NEAR(ref_val, val, rel_tolerance) in CheckTensorValue()
179 << "ref = " << ref_val << ", val = " << val << ", " << b << ", " in CheckTensorValue()
/external/tensorflow/tensorflow/python/keras/
Dbackend_test.py345 ref_val = np.random.random((3, 4)).astype('float32')
346 x = backend.constant(ref_val)
348 self.assertAllClose(val, ref_val)
389 ref_val = self._reference_batch_dot(x_val, y_val, axes)
390 self.assertAllClose(xy_val, ref_val, atol=1e-5)