/external/tensorflow/tensorflow/python/kernel_tests/ |
D | reduce_join_op_test.py | 180 expected_val = "thisisatestpleasedonotpanic" 182 self._testReduceJoin(input_array, expected_val, expected_shape, axis=None) 185 expected_val = input_array 187 self._testReduceJoin(input_array, expected_val, expected_shape, axis=[]) 283 expected_val = [["thisisatestpleasedonotpanic"]] 286 constant_op.constant(input_array), expected_val, expected_shape, 290 expected_val = input_array 293 input_array, expected_val, expected_shape, keep_dims=True, axis=[])
|
D | slice_op_test.py | 257 expected_val = inp[indices[0]:indices[0] + sizes[0], indices[1]:indices[ 261 self.assertAllEqual(slice_val, expected_val) 262 self.assertAllEqual(slice2_val, expected_val) 263 self.assertEqual(expected_val.shape, slice_t.get_shape()) 264 self.assertEqual(expected_val.shape, slice2_t.get_shape())
|
D | sparse_conditional_accumulator_test.py | 297 expected_val = sum(elems) / len(elems) 299 np.array([[expected_val, 0], [0, expected_val]]).astype(np.float32), 332 expected_val = 550.0 334 np.array([[expected_val, 0], [0, expected_val]]).astype(np.float32),
|
D | cond_v2_test.py | 61 expected_val, actual_val, expected_grad_val, actual_grad_val = sess.run( 63 self.assertEqual(expected_val, actual_val) 68 expected_val, actual_val, expected_grad_val, actual_grad_val = sess.run( 70 self.assertEqual(expected_val, actual_val)
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle_test.cc | 61 const Tensor& expected_val) { in Expect() argument 68 EXPECT_EQ(expected_val.dtype(), dtype); in Expect() 69 EXPECT_EQ(expected_val.shape(), shape); in Expect() 71 Tensor val(expected_val.dtype(), shape); in Expect() 73 test::ExpectTensorEqual<T>(val, expected_val); in Expect() 95 auto* expected_val = expected_var.get<T>(); in ExpectVariant() local 96 EXPECT_EQ(*expected_val, *actual_val); in ExpectVariant() 101 void ExpectNext(BundleReader* reader, const Tensor& expected_val) { in ExpectNext() argument 107 test::ExpectTensorEqual<T>(val, expected_val); in ExpectNext() 344 Tensor expected_val(DT_FLOAT, kFullShape); in TEST() local [all …]
|
/external/autotest/server/hosts/ |
D | servo_repair.py | 61 def _validate_attr(host, val, expected_val, attr, config_file): argument 82 if expected_val is not None and val != expected_val: 84 '%s is %s; it should be %s' % (attr, val, expected_val))
|
/external/googletest/googletest/test/ |
D | gtest_repeat_test.cc | 56 const int expected_val = (expected);\ 58 if (::testing::internal::IsTrue(expected_val != actual_val)) {\ 62 << "Which is: " << expected_val << "\n";\
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_repeat_test.cc | 65 const int expected_val = (expected);\ 67 if (::testing::internal::IsTrue(expected_val != actual_val)) {\ 71 << "Which is: " << expected_val << "\n";\
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | random_grad_test.py | 139 expected_val = misc.derivative( 143 self.assertAllClose(actual_val, expected_val, rtol=1e-3, atol=1e-3) 190 (actual_val, expected_val) = self.evaluate((actual, expected)) 192 self.assertAllClose(actual_val, expected_val, rtol=1e-3, atol=1e-3)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_resize_bilinear_op_test.cc | 265 float expected_val = 0.0f; in TestResizeBilinearOneDim() local 267 expected_val = QuantizedToFloat<qint32>( in TestResizeBilinearOneDim() 274 expected_val = (image_val0 + image_val1) * SCALE; in TestResizeBilinearOneDim() 276 VLOG(1) << "(" << i << ") " << expected_val << ", " << resized_image_val; in TestResizeBilinearOneDim() 277 EXPECT_NEAR(expected_val, resized_image_val, RESIZE_VAL_TOLERANCE) in TestResizeBilinearOneDim() 278 << expected_val << ", " << resized_image_val; in TestResizeBilinearOneDim()
|
/external/bcc/tests/python/ |
D | test_usdt2.py | 118 def check_event_val(data, event_state, expected_val): argument 120 if result.value == expected_val:
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | lrn_ops_test.py | 123 expected_val = self.evaluate(expected) 125 self.assertAllClose(actual_val, expected_val, rtol=1e-3)
|
/external/tensorflow/tensorflow/core/debug/ |
D | grpc_session_debug_test.cc | 74 void IsSingleFloatValue(const Tensor& val, float expected_val) { in IsSingleFloatValue() argument 77 ASSERT_EQ(val.flat<float>()(0), expected_val); in IsSingleFloatValue()
|
/external/tensorflow/tensorflow/python/training/ |
D | server_lib_test.py | 136 expected_val = np.empty([10000, 3000], dtype=np.float32) 137 expected_val.fill(0.5) 138 self.assertAllEqual(expected_val, sess.run(c))
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_session_test.cc | 65 static void IsSingleFloatValue(const Tensor& val, float expected_val) { in IsSingleFloatValue() argument 68 ASSERT_EQ(val.flat<float>()(0), expected_val); in IsSingleFloatValue()
|
/external/tensorflow/tensorflow/python/framework/ |
D | function_test.py | 559 expected_val = v.value() 564 self.assertAllEqual(expected_val.eval(), self.evaluate(actual_val))
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_test.py | 2785 expected_val = [1., 0.9, 0.8, 0.7, 0.6] 2787 self.assertAllClose(history.history[key], expected_val, 1e-3)
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 14236 uint32_t expected_val; in do_test_single() local 14256 expected_val = unpriv && test->retval_unpriv ? in do_test_single() 14302 if (!err && retval != expected_val && in do_test_single() 14303 expected_val != POINTER_VALUE) { in do_test_single() 14304 printf("FAIL retval %d != %d\n", retval, expected_val); in do_test_single()
|
/external/llvm/docs/ |
D | LangRef.rst | 12217 declare i1 @llvm.expect.i1(i1 <val>, i1 <expected_val>) 12218 declare i32 @llvm.expect.i32(i32 <val>, i32 <expected_val>) 12219 declare i64 @llvm.expect.i64(i64 <val>, i64 <expected_val>)
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | LangRef.rst | 14682 declare i1 @llvm.expect.i1(i1 <val>, i1 <expected_val>) 14683 declare i32 @llvm.expect.i32(i32 <val>, i32 <expected_val>) 14684 declare i64 @llvm.expect.i64(i64 <val>, i64 <expected_val>)
|