Home
last modified time | relevance | path

Searched refs:tuple1 (Results 1 – 18 of 18) 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.cc202 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
206 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
210 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
214 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
218 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
222 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
223 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); in TEST()
227 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
231 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
235 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_test.cc442 auto tuple1 = LiteralUtil::MakeTuple({&scalar, &matrix}); in TEST_F() local
448 EXPECT_EQ(tuple1, tuple2); in TEST_F()
452 EXPECT_NE(tuple1, reversed_tuple); in TEST_F()
457 EXPECT_NE(tuple1, different_tuple); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_points_to_analysis_test.cc386 auto tuple1 = builder.AddInstruction( in TEST_F() local
394 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
464 auto tuple1 = builder.AddInstruction( in TEST_F() local
472 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
500 auto tuple1 = in TEST_F() local
508 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
527 UnorderedElementsAre(tuple1, tuple2)); in TEST_F()
Dhlo_domain_test.cc652 HloInstruction* tuple1 = in TEST_F() local
656 TF_EXPECT_OK(tuple0->ReplaceUseWith(user, tuple1)); in TEST_F()
693 EXPECT_TRUE(tuple1->has_sharding()); in TEST_F()
694 EXPECT_EQ(tuple0->sharding(), tuple1->sharding()); in TEST_F()
Dbfloat16_propagation_test.cc284 HloInstruction* tuple1 = in TEST_F() local
288 HloInstruction::CreateGetTupleElement(xpose->shape(), tuple1, 1)); in TEST_F()
293 tuple0->shape(), tuple1, 0)), in TEST_F()
532 HloInstruction* tuple1 = in TEST_F() local
535 tuple0->shape(), HloOpcode::kTupleSelect, pred, tuple0, tuple1)); in TEST_F()
789 HloInstruction* tuple1 = in TEST_F() local
824 HloInstruction::CreateParameter(0, tuple1->shape(), "cond1_param")); in TEST_F()
867 HloInstruction::CreateWhile(tuple1->shape(), cond1, body, tuple1)); in TEST_F()
Dhlo_alias_analysis_test.cc869 auto tuple1 = in TEST_F() local
877 const Shape tuple_shape = tuple1->shape(); in TEST_F()
879 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple1)); in TEST_F()
881 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
967 auto tuple1 = in TEST_F() local
972 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
Dcopy_insertion_test.cc206 HloInstruction* tuple1 = builder.AddInstruction( in TEST_F() local
214 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
216 EXPECT_THAT(constant1->users(), UnorderedElementsAre(tuple1)); in TEST_F()
217 EXPECT_THAT(constant2->users(), UnorderedElementsAre(tuple1, tuple2)); in TEST_F()
378 HloInstruction* tuple1 = builder.AddInstruction( in TEST_F() local
386 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
693 auto tuple1 = builder.AddInstruction(HloInstruction::CreateTuple({v1, v2})); in BuildWhileInstruction_InitPointsToAmbiguous() local
699 nested_tuple_shape_, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in BuildWhileInstruction_InitPointsToAmbiguous()
Dhlo_dataflow_analysis_test.cc888 auto tuple1 = in TEST_P() local
896 const Shape tuple_shape = tuple1->shape(); in TEST_P()
898 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple1)); in TEST_P()
900 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
938 analysis.GetValueDefinedAt(tuple1, /*index=*/{}).uses(), in TEST_P()
969 auto tuple1 = builder.AddInstruction( in TEST_P() local
976 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
1055 auto tuple1 = in TEST_P() local
1060 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
Dbuffer_assignment_test.cc1949 auto tuple1 = builder.AddInstruction( in TEST_F() local
1952 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F()
2404 auto tuple1 = builder.AddInstruction( in TEST_F() local
2410 HloInstruction::CreateWhile(loop_state_shape_, cond, body, tuple1)); in TEST_F()
2491 auto tuple1 = builder.AddInstruction( in TEST_F() local
2494 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F()
Dlayout_assignment_test.cc260 auto tuple1 = builder.AddInstruction( in TEST_F() local
267 tuple0->shape(), HloOpcode::kTupleSelect, pred, tuple0, tuple1)); in TEST_F()
Dhlo_evaluator_test.cc1964 auto tuple1 = in TEST_P() local
1970 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); in TEST_P()
/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/Lib/test/
Dtest_itertools.py1459 def mutatingtuple(tuple1, f, tuple2): argument
1469 items[1:1] = list(tuple1)
1471 z = izip(*[gen]*len(tuple1))
/external/python/cpython3/Lib/test/
Dtest_itertools.py2005 def mutatingtuple(tuple1, f, tuple2): argument
2015 items[1:1] = list(tuple1)
2017 z = zip(*[gen]*len(tuple1))
/external/python/cpython2/Doc/library/
Dunittest.rst1161 assertTupleEqual(tuple1, tuple2, msg=None)