Home
last modified time | relevance | path

Searched refs:tuple1 (Results 1 – 22 of 22) 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.cc226 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
230 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
234 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
238 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
242 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
246 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
247 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); in TEST()
251 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
255 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
259 Shape tuple1 = ShapeUtil::MakeTupleShape( in TEST() local
[all …]
Dlayout_util_test.cc45 Shape tuple1 = ShapeUtil::MakeTupleShape({shape}); in TEST_F() local
49 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple0, tuple1)); in TEST_F()
51 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple0)); in TEST_F()
54 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple1)); in TEST_F()
55 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple2)); in TEST_F()
56 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple1)); in TEST_F()
Dliteral_test.cc416 auto tuple1 = LiteralUtil::MakeTuple({&scalar, &matrix}); in TEST_F() local
422 EXPECT_EQ(tuple1, tuple2); in TEST_F()
426 EXPECT_NE(tuple1, reversed_tuple); in TEST_F()
431 EXPECT_NE(tuple1, different_tuple); in TEST_F()
440 auto tuple1 = LiteralUtil::MakeTuple({&r1, &r2}); in TEST_F() local
447 EXPECT_EQ(tuple1, tuple2); in TEST_F()
453 EXPECT_NE(tuple1, tuple_3); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_points_to_analysis_test.cc414 auto tuple1 = builder.AddInstruction( in TEST_F() local
422 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
492 auto tuple1 = builder.AddInstruction( in TEST_F() local
500 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
528 auto tuple1 = in TEST_F() local
536 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
555 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.cc285 HloInstruction* tuple1 = in TEST_F() local
289 HloInstruction::CreateGetTupleElement(xpose->shape(), tuple1, 1)); in TEST_F()
294 tuple0->shape(), tuple1, 0)), in TEST_F()
562 HloInstruction* tuple1 = in TEST_F() local
565 tuple0->shape(), HloOpcode::kTupleSelect, pred, tuple0, tuple1)); in TEST_F()
819 HloInstruction* tuple1 = in TEST_F() local
854 HloInstruction::CreateParameter(0, tuple1->shape(), "cond1_param")); in TEST_F()
897 HloInstruction::CreateWhile(tuple1->shape(), cond1, body, tuple1)); in TEST_F()
Dhlo_alias_analysis_test.cc861 auto tuple1 = in TEST_F() local
869 const Shape tuple_shape = tuple1->shape(); in TEST_F()
871 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple1)); in TEST_F()
873 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_F()
959 auto tuple1 = in TEST_F() local
964 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()
699 auto tuple1 = builder.AddInstruction(HloInstruction::CreateTuple({v1, v2})); in BuildWhileInstruction_InitPointsToAmbiguous() local
705 nested_tuple_shape_, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in BuildWhileInstruction_InitPointsToAmbiguous()
Dhlo_dataflow_analysis_test.cc941 auto tuple1 = in TEST_P() local
949 const Shape tuple_shape = tuple1->shape(); in TEST_P()
951 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple1)); in TEST_P()
953 tuple_shape, HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
991 analysis.GetValueDefinedAt(tuple1, /*index=*/{}).uses(), in TEST_P()
1022 auto tuple1 = builder.AddInstruction( in TEST_P() local
1029 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
1108 auto tuple1 = in TEST_P() local
1113 tuple1->shape(), HloOpcode::kTupleSelect, pred, tuple1, tuple2)); in TEST_P()
Dbuffer_assignment_test.cc2097 auto tuple1 = builder.AddInstruction( in TEST_F() local
2100 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F()
2586 auto tuple1 = builder.AddInstruction( in TEST_F() local
2592 HloInstruction::CreateWhile(loop_state_shape_, cond, body, tuple1)); in TEST_F()
2672 auto tuple1 = builder.AddInstruction( in TEST_F() local
2675 HloInstruction::CreateWhile(loop_state_shape_, cond1, body1, tuple1)); in TEST_F()
Dsharding_propagation_test.cc815 auto* tuple1 = FindInstruction(module.get(), "tuple.1"); in TEST_P() local
816 ASSERT_NE(tuple1, nullptr); in TEST_P()
817 EXPECT_THAT(tuple1, op::Sharding("{{replicated}," in TEST_P()
824 EXPECT_THAT(tuple1->sharding().tuple_elements()[0], ShardingMetadata({})); in TEST_P()
825 EXPECT_THAT(tuple1->sharding().tuple_elements()[1], in TEST_P()
827 EXPECT_THAT(tuple1->sharding().tuple_elements()[2], ShardingMetadata({})); in TEST_P()
830 {tuple->sharding(), tuple1->sharding()}) { in TEST_P()
Dhlo_cost_analysis_test.cc671 auto tuple1 = builder.AddInstruction(HloInstruction::CreateTuple({c1, c2})); in TEST_F() local
683 HloInstruction::CreateTuple({sub, sub, mul, 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.cc3167 auto tuple1 = in TEST_P() local
3173 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); in TEST_P()
Dhlo_parser_test.cc480 ROOT %tuple1 = (f32[], f32[]) tuple(f32[] %add1, f32[] %add2) in CreateTestCases()
/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/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.py2060 def mutatingtuple(tuple1, f, tuple2): argument
2070 items[1:1] = list(tuple1)
2072 z = zip(*[gen]*len(tuple1))
/external/python/cpython2/Doc/library/
Dunittest.rst1161 assertTupleEqual(tuple1, tuple2, msg=None)