Home
last modified time | relevance | path

Searched refs:tuple2 (Results 1 – 21 of 21) 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.cc46 Shape tuple2 = ShapeUtil::MakeTupleShape({shape, shape}); in TEST_F() local
50 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple0, tuple2)); in TEST_F()
52 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple0)); in TEST_F()
55 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple2)); in TEST_F()
56 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple1)); in TEST_F()
59 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple2)); in TEST_F()
60 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, other_tuple2)); in TEST_F()
61 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(other_tuple2, tuple2)); in TEST_F()
Dshape_util_test.cc228 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
230 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
236 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
238 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
244 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
246 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
247 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); in TEST()
253 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
255 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
261 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
[all …]
Dliteral_test.cc421 auto tuple2 = LiteralUtil::MakeTuple({&scalar_clone, &matrix}); in TEST_F() local
422 EXPECT_EQ(tuple1, tuple2); in TEST_F()
446 auto tuple2 = LiteralUtil::MakeTuple({&r1_clone, &r2}); in TEST_F() local
447 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/llvm-project/llvm/test/CodeGen/AArch64/
Dsve-intrinsics-insert-extract-tuple.ll15 ; tuple: { tuple2.res0, tuple2.res1 }
16 ; insert z5: { z5 , tuple2.res1 }
30 ; tuple: { tuple2.res0, tuple2.res1 }
31 ; insert z5: { tuple2.res0, z5 }
47 ; tuple: { tuple2.res0, tuple2.res1 }
48 ; insert z5: { tuple2.res0, z5 }
/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_points_to_analysis_test.cc416 auto tuple2 = builder.AddInstruction( in TEST_F() local
422 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
494 auto tuple2 = builder.AddInstruction( in TEST_F() local
500 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
530 auto tuple2 = in TEST_F() local
536 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
555 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()
700 auto tuple2 = builder.AddInstruction(HloInstruction::CreateTuple({v2, v1})); in BuildWhileInstruction_InitPointsToAmbiguous() local
705 nested_tuple_shape_, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in BuildWhileInstruction_InitPointsToAmbiguous()
Dhlo_alias_analysis_test.cc863 auto tuple2 = in TEST_F() local
873 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
961 auto tuple2 = in TEST_F() local
964 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
Dhlo_cost_analysis_test.cc682 auto tuple2 = builder.AddInstruction( in TEST_F() local
688 {tuple2, sub, mul, exp, clamp, add}, HloInstruction::FusionKind::kLoop); in TEST_F()
Dhlo_dataflow_analysis_test.cc943 auto tuple2 = in TEST_P() local
953 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
1026 auto tuple2 = builder.AddInstruction( in TEST_P() local
1029 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
1110 auto tuple2 = in TEST_P() local
1113 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
Dhlo_evaluator_test.cc3169 auto tuple2 = in TEST_P() local
3173 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); in TEST_P()
3176 HloInstruction::CreateGetTupleElement(tuple2->shape(), outer_tuple, 1)); in TEST_P()
/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
167 (), tuple2(), tuple3(),
176 tuple2((1,2)), tuple3((1,2)), tuple3(range(100)),
217 for type in [tuple, tuple2]:
Dtest_itertools.py2060 def mutatingtuple(tuple1, f, tuple2): argument
2069 items = list(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/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dcase.py826 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument
835 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
/external/python/cpython3/Lib/unittest/
Dcase.py1039 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument
1048 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
/external/python/cpython2/Doc/library/
Dunittest.rst1161 assertTupleEqual(tuple1, tuple2, msg=None)