Home
last modified time | relevance | path

Searched refs:tuple2 (Results 1 – 20 of 20) sorted by relevance

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DPairsTagTest.java41 Object[] tuple2 = list1.get(1); in testPairs() local
42 assertEquals(2, tuple2.length); in testPairs()
43 assertEquals("meeting", tuple2[0]); in testPairs()
44 assertEquals("with boss.", tuple2[1]); in testPairs()
/external/tensorflow/tensorflow/compiler/xla/
Dlayout_util_test.cc54 Shape tuple2 = ShapeUtil::MakeTupleShape({shape, shape}); in TEST_F() local
58 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple0, tuple2)); in TEST_F()
60 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple0)); in TEST_F()
63 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple2)); in TEST_F()
64 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple1)); in TEST_F()
67 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple2)); in TEST_F()
68 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, other_tuple2)); in TEST_F()
69 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(other_tuple2, tuple2)); in TEST_F()
Dshape_util_test.cc204 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
206 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
212 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
214 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
220 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
222 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
223 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); in TEST()
229 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
231 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
237 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
[all …]
Dliteral_test.cc447 auto tuple2 = LiteralUtil::MakeTuple({&scalar_clone, &matrix}); in TEST_F() local
448 EXPECT_EQ(tuple1, tuple2); in TEST_F()
/external/python/cpython2/Lib/test/
Dtest_pprint.py20 class tuple2(tuple): class
130 (), tuple2(), tuple3(),
139 tuple2((1,2)), tuple3((1,2)), tuple3(range(100)),
180 for type in [tuple, tuple2]:
Dtest_builtin.py529 class tuple2(tuple): class
536 tuple2: {(): (), (1, 2, 3): (2, 4, 6)},
Dtest_itertools.py1459 def mutatingtuple(tuple1, f, tuple2): argument
1468 items = list(tuple2)
/external/toolchain-utils/automation/clients/report/dejagnu/
Dreport.py84 has_2nd = lambda tuple2: bool(tuple2[1]) argument
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconditional_test.cc760 const Shape tuple2 = ShapeUtil::MakeTupleShape({scalar, scalar}); in XLA_TEST_F() local
764 auto p = Parameter(&builder, 0, tuple2, "then.p"); in XLA_TEST_F()
773 auto p = Parameter(&builder, 0, tuple2, "else.p"); in XLA_TEST_F()
788 auto p = Parameter(&builder, 0, tuple2, "p0"); in XLA_TEST_F()
801 auto p = Parameter(&builder, 0, tuple2, "p0"); in XLA_TEST_F()
/external/python/cpython3/Lib/test/
Dtest_pprint.py21 class tuple2(tuple): class
166 (), tuple2(), tuple3(),
175 tuple2((1,2)), tuple3((1,2)), tuple3(range(100)),
216 for type in [tuple, tuple2]:
Dtest_itertools.py2005 def mutatingtuple(tuple1, f, tuple2): argument
2014 items = list(tuple2)
/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_points_to_analysis_test.cc388 auto tuple2 = builder.AddInstruction( in TEST_F() local
394 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
466 auto tuple2 = builder.AddInstruction( in TEST_F() local
472 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
502 auto tuple2 = in TEST_F() local
508 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
527 UnorderedElementsAre(tuple1, tuple2)); in TEST_F()
Dcopy_insertion_test.cc208 HloInstruction* tuple2 = builder.AddInstruction( in TEST_F() local
214 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
217 EXPECT_THAT(constant2->users(), UnorderedElementsAre(tuple1, tuple2)); in TEST_F()
218 EXPECT_THAT(constant3->users(), UnorderedElementsAre(tuple2)); in TEST_F()
380 HloInstruction* tuple2 = builder.AddInstruction( in TEST_F() local
386 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
694 auto tuple2 = builder.AddInstruction(HloInstruction::CreateTuple({v2, v1})); in BuildWhileInstruction_InitPointsToAmbiguous() local
699 nested_tuple_shape_, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in BuildWhileInstruction_InitPointsToAmbiguous()
Dhlo_alias_analysis_test.cc871 auto tuple2 = in TEST_F() local
881 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
969 auto tuple2 = in TEST_F() local
972 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
Dhlo_dataflow_analysis_test.cc890 auto tuple2 = in TEST_P() local
900 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
973 auto tuple2 = builder.AddInstruction( in TEST_P() local
976 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
1057 auto tuple2 = in TEST_P() local
1060 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
Dhlo_evaluator_test.cc1966 auto tuple2 = in TEST_P() local
1970 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); in TEST_P()
1973 HloInstruction::CreateGetTupleElement(tuple2->shape(), outer_tuple, 1)); in TEST_P()
/external/v8/src/
Dobjects-definitions.h313 V(TUPLE2, Tuple2, tuple2) \
/external/python/cpython2/Lib/unittest/
Dcase.py745 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument
754 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
/external/python/cpython3/Lib/unittest/
Dcase.py1047 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument
1056 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
/external/python/cpython2/Doc/library/
Dunittest.rst1161 assertTupleEqual(tuple1, tuple2, msg=None)