Home
last modified time | relevance | path

Searched refs:tuple1 (Results 1 – 17 of 17) sorted by relevance

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DPairsTagTest.java35 Object[] tuple1 = list1.get(0); in testPairs() local
36 assertEquals(2, tuple1.length); in testPairs()
37 assertEquals("meeting", tuple1[0]); in testPairs()
38 assertEquals("with team.", tuple1[1]); in testPairs()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util_test.cc192 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
196 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
200 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
204 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
208 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
212 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
213 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); in TEST()
217 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
221 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
225 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
[all …]
Dlayout_util_test.cc53 Shape tuple1 = ShapeUtil::MakeTupleShape({shape}); in TEST_F() local
57 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple0, tuple1)); in TEST_F()
59 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple0)); in TEST_F()
62 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple1)); in TEST_F()
63 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple2)); in TEST_F()
64 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple1)); in TEST_F()
Dliteral_util_test.cc359 auto tuple1 = Literal::MakeTuple({scalar.get(), matrix.get()}); in TEST_F() local
365 EXPECT_EQ(*tuple1, *tuple2); in TEST_F()
369 EXPECT_NE(*tuple1, *reversed_tuple); in TEST_F()
374 EXPECT_NE(*tuple1, *different_tuple); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_points_to_analysis_test.cc369 auto tuple1 = builder.AddInstruction( in TEST_F() local
377 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_F()
447 auto tuple1 = builder.AddInstruction( in TEST_F() local
455 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_F()
483 auto tuple1 = in TEST_F() local
491 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_F()
510 UnorderedElementsAre(tuple1, tuple2)); in TEST_F()
Dhlo_alias_analysis_test.cc670 auto tuple1 = in TEST_F() local
678 const Shape tuple_shape = tuple1->shape(); in TEST_F()
680 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple1)); in TEST_F()
682 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_F()
767 auto tuple1 = in TEST_F() local
772 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_F()
Dhlo_dataflow_analysis_test.cc876 auto tuple1 = in TEST_P() local
884 const Shape tuple_shape = tuple1->shape(); in TEST_P()
886 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple1)); in TEST_P()
888 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_P()
925 analysis.GetValueDefinedAt(tuple1, /*index=*/{}).uses(), in TEST_P()
956 auto tuple1 = builder.AddInstruction( in TEST_P() local
963 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_P()
1041 auto tuple1 = in TEST_P() local
1046 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_P()
Dcopy_insertion_test.cc201 HloInstruction* tuple1 = builder.AddInstruction( in TEST_F() local
209 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_F()
211 EXPECT_THAT(constant1->users(), UnorderedElementsAre(tuple1)); in TEST_F()
212 EXPECT_THAT(constant2->users(), UnorderedElementsAre(tuple1, tuple2)); in TEST_F()
372 HloInstruction* tuple1 = builder.AddInstruction( in TEST_F() local
380 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); in TEST_F()
683 auto tuple1 = builder.AddInstruction(HloInstruction::CreateTuple({v1, v2})); in BuildWhileInstruction_InitPointsToAmbiguous() local
689 nested_tuple_shape_, HloOpcode::kSelect, pred, tuple1, tuple2)); in BuildWhileInstruction_InitPointsToAmbiguous()
Dwhile_loop_simplifier_test.cc377 auto* tuple1 = body_builder.AddInstruction(HloInstruction::CreateBinary( in TEST_F() local
386 HloInstruction::CreateTuple({tuple0, tuple1, tuple2})); in TEST_F()
Dbuffer_assignment_test.cc1567 auto tuple1 = builder.AddInstruction( in TEST_F() local
1570 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F()
1840 auto tuple1 = builder.AddInstruction( in TEST_F() local
1846 HloInstruction::CreateWhile(loop_state_shape_, cond, body, tuple1)); in TEST_F()
1925 auto tuple1 = builder.AddInstruction( in TEST_F() local
1928 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F()
Dlayout_assignment_test.cc231 auto tuple1 = builder.AddInstruction( in TEST_F() local
238 tuple0->shape(), HloOpcode::kSelect, pred, tuple0, tuple1)); in TEST_F()
Dhlo_evaluator_test.cc1609 auto tuple1 = in TEST_P() local
1615 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); in TEST_P()
/external/python/cpython2/Lib/unittest/
Dcase.py744 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument
753 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
/external/python/cpython3/Lib/unittest/
Dcase.py1021 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument
1030 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
/external/python/cpython2/Lib/test/
Dtest_itertools.py1412 def mutatingtuple(tuple1, f, tuple2): argument
1422 items[1:1] = list(tuple1)
1424 z = izip(*[gen]*len(tuple1))
/external/python/cpython3/Lib/test/
Dtest_itertools.py1925 def mutatingtuple(tuple1, f, tuple2): argument
1935 items[1:1] = list(tuple1)
1937 z = zip(*[gen]*len(tuple1))
/external/python/cpython2/Doc/library/
Dunittest.rst1161 assertTupleEqual(tuple1, tuple2, msg=None)