/external/tensorflow/tensorflow/core/framework/ |
D | tensor_testutil.h | 127 inline void ExpectEqual(const T& a, const T& b) { in ExpectEqual() function 132 inline void ExpectEqual<float>(const float& a, const float& b) { 137 inline void ExpectEqual<double>(const double& a, const double& b) { 142 inline void ExpectEqual<complex64>(const complex64& a, const complex64& b) { 148 inline void ExpectEqual<complex128>(const complex128& a, const complex128& b) { 154 inline void ExpectEqual(const T& a, const T& b, int index) { in ExpectEqual() function 159 inline void ExpectEqual<float>(const float& a, const float& b, int index) { 164 inline void ExpectEqual<double>(const double& a, const double& b, int index) { 169 inline void ExpectEqual<complex64>(const complex64& a, const complex64& b, 178 inline void ExpectEqual<complex128>(const complex128& a, const complex128& b, [all …]
|
D | op_def_util_test.cc | 454 void ExpectEqual(const protobuf::RepeatedPtrField<OpDef::AttrDef>& a1, in ExpectEqual() function 489 ExpectEqual(Rep({}), Rep({})); in TEST() 490 ExpectEqual(Rep({a1}), Rep({a1})); in TEST() 491 ExpectEqual(Rep({a1, a2}), Rep({a1, a2})); in TEST() 492 ExpectEqual(Rep({a1, a2}), Rep({a2, a1})); in TEST() 493 ExpectEqual(Rep({a1, a4}), Rep({a4, a1})); in TEST() 504 void ExpectEqual(const OpDef& o1, const OpDef& o2) { in ExpectEqual() function 525 ExpectEqual(o1, o1); in TEST() 526 ExpectEqual(o3, o4); in TEST()
|
D | op_kernel_test.cc | 152 void ExpectEqual(const string& what, const DataTypeVector& expected, in ExpectEqual() function in tensorflow::__anonf4c990e70111::OpKernelTest 173 ExpectEqual("inputs", op->input_types(), inputs); in ExpectSuccess() 174 ExpectEqual("outputs", op->output_types(), outputs); in ExpectSuccess()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_runner_test.cc | 44 using test::internal::ExpectEqual; 53 ExpectEqual(42.0f, outputs[0].scalar<float>()()); in TEST() 80 ExpectEqual(3.0f, outputs[0].scalar<float>()()); in TEST() 92 ExpectEqual(42.0f, outputs[0].scalar<float>()()); in TEST() 93 ExpectEqual(3.14f, outputs[1].scalar<float>()()); in TEST() 114 ExpectEqual(3.0f, outputs[0].scalar<float>()()); in TEST()
|
/external/libcxx/test/libcxx/utilities/variant/variant.variant/ |
D | variant_size.pass.cpp | 34 constexpr bool ExpectEqual = variable 46 static_assert((sizeof(T1) == sizeof(T2)) == ExpectEqual, ""); in test_index_type() 57 > == ExpectEqual, ""); in test_index_internals()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | sparse_tensor_slice_dataset_op_test.cc | 175 TF_EXPECT_OK(ExpectEqual(out_tensors[0], expected_outputs_it->at(0))); in TEST_P() 176 TF_EXPECT_OK(ExpectEqual(out_tensors[1], expected_outputs_it->at(1))); in TEST_P() 177 TF_EXPECT_OK(ExpectEqual(out_tensors[2], expected_outputs_it->at(2))); in TEST_P() 390 TF_EXPECT_OK(ExpectEqual( in TEST_P() 392 TF_EXPECT_OK(ExpectEqual( in TEST_P() 394 TF_EXPECT_OK(ExpectEqual( in TEST_P()
|
D | tensor_dataset_op_test.cc | 140 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P() 142 TF_EXPECT_OK(ExpectEqual(out_tensors[i], test_case.expected_outputs[i])); in TEST_P() 270 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P() 272 TF_EXPECT_OK(ExpectEqual(out_tensors[i], test_case.expected_outputs[i])); in TEST_P()
|
D | tensor_slice_dataset_op_test.cc | 124 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P() 126 TF_EXPECT_OK(ExpectEqual( in TEST_P() 296 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P() 298 TF_EXPECT_OK(ExpectEqual( in TEST_P()
|
D | repeat_dataset_op_test.cc | 148 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P() 166 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P() 337 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
|
D | cache_dataset_ops_test.cc | 179 TF_EXPECT_OK(ExpectEqual(out_tensors, test_case.expected_outputs, in TEST_P() 194 TF_EXPECT_OK(ExpectEqual(out_tensors, test_case.expected_outputs, in TEST_P() 348 TF_EXPECT_OK(ExpectEqual(out_tensors.back(), *expected_outputs_it)); in TEST_P()
|
D | shuffle_dataset_op_test.cc | 365 TF_EXPECT_OK(ExpectEqual(shuffled_out_tensors, in TEST_P() 368 TF_EXPECT_OK(ExpectEqual(reshuffled_out_tensors, in TEST_P() 546 TF_EXPECT_OK(ExpectEqual(out_tensors, test_case.expected_shuffle_outputs, in TEST_P()
|
D | window_dataset_op_test.cc | 318 TF_EXPECT_OK(ExpectEqual(window_elements, *expected_outputs_it, false)); in TEST_P() 511 ExpectEqual(window_elements, *expected_outputs_it, false)); in TEST_P()
|
D | dataset_test_base.cc | 215 Status DatasetOpsTestBase::ExpectEqual(const Tensor& a, const Tensor& b) { in ExpectEqual() function in tensorflow::data::DatasetOpsTestBase 245 Status DatasetOpsTestBase::ExpectEqual(std::vector<Tensor> produced_tensors, in ExpectEqual() function in tensorflow::data::DatasetOpsTestBase 298 TF_RETURN_IF_ERROR(DatasetOpsTestBase::ExpectEqual(produced_tensors[i], in ExpectEqual() 592 TF_EXPECT_OK(ExpectEqual(out_tensors, expected_outputs, in CheckIteratorGetNext() 687 TF_EXPECT_OK(ExpectEqual(out_tensors, expected_outputs, in CheckIteratorSaveAndRestore()
|
D | reduce_dataset_op_test.cc | 178 ExpectEqual(test_case.expected_outputs, output, /*compare_order=*/true)); in TEST_P()
|
D | map_defun_op_test.cc | 259 TF_EXPECT_OK(ExpectEqual(*context->mutable_output(i), in TEST_P()
|
D | dataset_test_base.h | 539 static Status ExpectEqual(const Tensor& a, const Tensor& b); 544 static Status ExpectEqual(std::vector<Tensor> produced_tensors,
|
/external/webrtc/webrtc/video/ |
D | send_statistics_proxy_unittest.cc | 47 void ExpectEqual(VideoSendStream::Stats one, VideoSendStream::Stats other) { in ExpectEqual() function in webrtc::SendStatisticsProxyTest 130 ExpectEqual(expected_, stats); in TEST_F() 187 ExpectEqual(expected_, stats); in TEST_F() 226 ExpectEqual(expected_, stats); in TEST_F() 259 ExpectEqual(expected_, stats); in TEST_F() 289 ExpectEqual(expected_, stats); in TEST_F()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | random_dataset_op_test.cc | 139 TF_ASSERT_OK(ExpectEqual(out_tensors, test_case.expected_outputs, in TEST_P()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 507 bool parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual); 509 bool parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual); 4419 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfc() argument 4440 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc() 4449 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfeqs() argument 4451 if (ExpectEqual) in parseDirectiveIfeqs() 4463 if (ExpectEqual) in parseDirectiveIfeqs() 4474 if (ExpectEqual) in parseDirectiveIfeqs() 4487 TheCondState.CondMet = ExpectEqual == (String1 == String2); in parseDirectiveIfeqs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 618 bool parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual); 620 bool parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual); 4924 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfc() argument 4942 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc() 4951 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfeqs() argument 4953 if (ExpectEqual) in parseDirectiveIfeqs() 4962 if (ExpectEqual) in parseDirectiveIfeqs() 4971 if (ExpectEqual) in parseDirectiveIfeqs() 4981 TheCondState.CondMet = ExpectEqual == (String1 == String2); in parseDirectiveIfeqs()
|