/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/tensorflow/tensorflow/core/framework/ |
D | op_def_util_test.cc | 437 void ExpectEqual(const protobuf::RepeatedPtrField<OpDef::AttrDef>& a1, in ExpectEqual() function 472 ExpectEqual(Rep({}), Rep({})); in TEST() 473 ExpectEqual(Rep({a1}), Rep({a1})); in TEST() 474 ExpectEqual(Rep({a1, a2}), Rep({a1, a2})); in TEST() 475 ExpectEqual(Rep({a1, a2}), Rep({a2, a1})); in TEST() 476 ExpectEqual(Rep({a1, a4}), Rep({a4, a1})); in TEST() 487 void ExpectEqual(const OpDef& o1, const OpDef& o2) { in ExpectEqual() function 508 ExpectEqual(o1, o1); in TEST() 509 ExpectEqual(o3, o4); in TEST()
|
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) { 165 static void Equal(const T& a, const T& b) { ExpectEqual(a, b); } 174 ExpectEqual(a[i], b[i]); 182 static void Equal(const T& a, const T& b) { ExpectEqual(a, b); } 191 ExpectEqual(a[i], b[i]);
|
D | op_kernel_test.cc | 145 void ExpectEqual(const string& what, const DataTypeVector& expected, in ExpectEqual() function in tensorflow::__anon74460fe50111::OpKernelTest 166 ExpectEqual("inputs", op->input_types(), inputs); in ExpectSuccess() 167 ExpectEqual("outputs", op->output_types(), outputs); in ExpectSuccess()
|
/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/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/ |
D | sparse_tensor_slice_dataset_op_test.cc | 166 ExpectEqual(out_tensors[0], expected_outputs[cur_slice].indices)); in TEST_F() 168 ExpectEqual(out_tensors[1], expected_outputs[cur_slice].values)); in TEST_F() 169 TF_EXPECT_OK(ExpectEqual(out_tensors[2], in TEST_F() 487 TF_EXPECT_OK(ExpectEqual( in TEST_F() 489 TF_EXPECT_OK(ExpectEqual(out_tensors[1], in TEST_F() 491 TF_EXPECT_OK(ExpectEqual( in TEST_F()
|
D | tensor_dataset_op_test.cc | 177 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P() 179 TF_EXPECT_OK(ExpectEqual(out_tensors[i], test_case.expected_outputs[i])); in TEST_P() 510 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P() 513 ExpectEqual(out_tensors[i], test_case.expected_outputs[i])); in TEST_P()
|
D | tensor_slice_dataset_op_test.cc | 189 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_F() 191 TF_EXPECT_OK(ExpectEqual( in TEST_F() 587 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_F() 589 TF_EXPECT_OK(ExpectEqual( in TEST_F()
|
D | concatenate_dataset_op_test.cc | 195 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P() 332 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
|
D | zip_dataset_op_test.cc | 180 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P() 331 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
|
D | repeat_dataset_op_test.cc | 174 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P() 192 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P() 529 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
|
D | dataset_test_base.h | 52 static Status ExpectEqual(const Tensor& a, const Tensor& b);
|
D | take_dataset_op_test.cc | 199 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P() 537 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
|
D | dataset_test_base.cc | 21 Status DatasetOpsTestBase::ExpectEqual(const Tensor& a, const Tensor& b) { in ExpectEqual() function in tensorflow::data::DatasetOpsTestBase
|
/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()
|