/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | PairsTagTest.java | 32 Object[] tuple1 = list1.get(0); in testPairs() local 33 assertEquals(2, tuple1.length); in testPairs() 34 assertEquals("meeting", tuple1[0]); in testPairs() 35 assertEquals("with team.", tuple1[1]); in testPairs()
|
/external/icu/libicu/cts_headers/ |
D | messageformat2_evaluation.h | 55 const PrioritizedVariant& tuple1 = *(static_cast<const PrioritizedVariant*>(left.pointer)); in comparePrioritizedVariants() local 57 if (tuple1 < tuple2) { in comparePrioritizedVariants() 60 if (tuple1.priority == tuple2.priority) { in comparePrioritizedVariants()
|
/external/icu/icu4c/source/i18n/ |
D | messageformat2_evaluation.h | 55 const PrioritizedVariant& tuple1 = *(static_cast<const PrioritizedVariant*>(left.pointer)); in comparePrioritizedVariants() local 57 if (tuple1 < tuple2) { in comparePrioritizedVariants() 60 if (tuple1.priority == tuple2.priority) { in comparePrioritizedVariants()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | layout_util_test.cc | 47 Shape tuple1 = ShapeUtil::MakeTupleShape({shape}); in TEST_F() local 51 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple0, tuple1)); in TEST_F() 53 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple0)); in TEST_F() 56 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple1)); in TEST_F() 57 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple2)); in TEST_F() 58 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple1)); in TEST_F()
|
D | shape_util_test.cc | 217 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local 221 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST() 231 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local 235 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST() 239 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local 243 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST() 244 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); in TEST() 248 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local 252 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST() 256 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local [all …]
|
D | literal_test.cc | 423 auto tuple1 = LiteralUtil::MakeTuple({&scalar, &matrix}); in TEST_F() local 429 EXPECT_EQ(tuple1, tuple2); in TEST_F() 433 EXPECT_NE(tuple1, reversed_tuple); in TEST_F() 438 EXPECT_NE(tuple1, different_tuple); in TEST_F() 447 auto tuple1 = LiteralUtil::MakeTuple({&r1, &r2}); in TEST_F() local 454 EXPECT_EQ(tuple1, tuple2); in TEST_F() 460 EXPECT_NE(tuple1, tuple_3); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_domain_test.cc | 745 HloInstruction* tuple1 = in TEST_F() local 749 TF_EXPECT_OK(tuple0->ReplaceUseWith(user, tuple1)); in TEST_F() 786 EXPECT_TRUE(tuple1->has_sharding()); in TEST_F() 787 EXPECT_EQ(tuple0->sharding(), tuple1->sharding()); in TEST_F()
|
D | bfloat16_propagation_test.cc | 286 HloInstruction* tuple1 = in TEST_F() local 290 HloInstruction::CreateGetTupleElement(xpose->shape(), tuple1, 1)); in TEST_F() 295 tuple0->shape(), tuple1, 0)), in TEST_F() 776 HloInstruction* tuple1 = in TEST_F() local 811 HloInstruction::CreateParameter(0, tuple1->shape(), "cond1_param")); in TEST_F() 854 HloInstruction::CreateWhile(tuple1->shape(), cond1, body, tuple1)); in TEST_F()
|
D | buffer_assignment_test.cc | 2175 auto tuple1 = builder.AddInstruction( in TEST_F() local 2178 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F() 2725 auto tuple1 = builder.AddInstruction( in TEST_F() local 2731 HloInstruction::CreateWhile(loop_state_shape_, cond, body, tuple1)); in TEST_F() 2810 auto tuple1 = builder.AddInstruction( in TEST_F() local 2813 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F()
|
D | sharding_propagation_test.cc | 930 auto* tuple1 = FindInstruction(module.get(), "tuple.1"); in TEST_P() local 931 ASSERT_NE(tuple1, nullptr); in TEST_P() 932 EXPECT_THAT(tuple1, op::Sharding("{{replicated}," in TEST_P() 939 EXPECT_THAT(tuple1->sharding().tuple_elements()[0], ShardingMetadata({})); in TEST_P() 940 EXPECT_THAT(tuple1->sharding().tuple_elements()[1], in TEST_P() 942 EXPECT_THAT(tuple1->sharding().tuple_elements()[2], ShardingMetadata({})); in TEST_P() 945 {tuple->sharding(), tuple1->sharding()}) { in TEST_P()
|
D | hlo_cost_analysis_test.cc | 774 auto tuple1 = builder.AddInstruction(HloInstruction::CreateTuple({c1, c2})); in TEST_F() local 786 HloInstruction::CreateTuple({sub, sub, mul, tuple1})); in TEST_F()
|
D | hlo_evaluator_test.cc | 3205 auto tuple1 = in TEST_P() local 3211 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); in TEST_P() 4922 HloInstruction* tuple1 = in TEST_F() local 4925 b.AddInstruction(HloInstruction::CreateGetTupleElement(tuple1, 0)); in TEST_F() 4952 HloInstruction* tuple1 = in TEST_F() local 4955 b.AddInstruction(HloInstruction::CreateGetTupleElement(tuple1, 0)); in TEST_F()
|
D | hlo_parser_test.cc | 528 ROOT %tuple1 = (f32[], f32[]) tuple(f32[] %add1, f32[] %add2) in CreateTestCases()
|
/external/pytorch/torch/_dynamo/repro/ |
D | after_aot.py | 605 def compare_tuples(tuple1, tuple2): argument 606 diff_indices = [i for i in range(len(tuple1)) if tuple1[i] != tuple2[i]] 607 diff_values = [(tuple1[i], tuple2[i]) for i in diff_indices]
|
/external/pytorch/aten/src/ATen/core/ |
D | type.cpp | 403 auto tuple1 = t1->castRaw<TupleType>(); in unifyTypesImpl() local 405 if (tuple1->elements().size() != tuple2->elements().size()) { in unifyTypesImpl() 409 for (size_t i = 0; i < tuple1->elements().size(); i++) { in unifyTypesImpl() 410 …if (auto elem = unifyTypes(tuple1->elements().at(i), tuple2->elements().at(i), default_to_union)) { in unifyTypesImpl()
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 1115 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument 1124 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
|
/external/python/cpython3/Lib/test/ |
D | test_itertools.py | 2664 def mutatingtuple(tuple1, f, tuple2): argument 2674 items[1:1] = list(tuple1) 2676 z = zip(*[gen]*len(tuple1))
|