Home
last modified time | relevance | path

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

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DPairsTagTest.java38 Object[] tuple2 = list1.get(1); in testPairs() local
39 assertEquals(2, tuple2.length); in testPairs()
40 assertEquals("meeting", tuple2[0]); in testPairs()
41 assertEquals("with boss.", tuple2[1]); in testPairs()
/external/tensorflow/tensorflow/compiler/xla/
Dlayout_util_test.cc48 Shape tuple2 = ShapeUtil::MakeTupleShape({shape, shape}); in TEST_F() local
52 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple0, tuple2)); in TEST_F()
54 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple0)); in TEST_F()
57 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple2)); in TEST_F()
58 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple1)); in TEST_F()
61 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple2)); in TEST_F()
62 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, other_tuple2)); in TEST_F()
63 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(other_tuple2, tuple2)); in TEST_F()
Dshape_util_test.cc219 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
221 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
233 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
235 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
241 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
243 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); in TEST()
244 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); in TEST()
250 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
252 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
258 Shape tuple2 = ShapeUtil::MakeTupleShape( in TEST() local
[all …]
Dliteral_test.cc428 auto tuple2 = LiteralUtil::MakeTuple({&scalar_clone, &matrix}); in TEST_F() local
429 EXPECT_EQ(tuple1, tuple2); in TEST_F()
453 auto tuple2 = LiteralUtil::MakeTuple({&r1_clone, &r2}); in TEST_F() local
454 EXPECT_EQ(tuple1, tuple2); in TEST_F()
/external/icu/libicu/cts_headers/
Dmessageformat2_evaluation.h56 const PrioritizedVariant& tuple2 = *(static_cast<const PrioritizedVariant*>(right.pointer)); in comparePrioritizedVariants() local
57 if (tuple1 < tuple2) { in comparePrioritizedVariants()
60 if (tuple1.priority == tuple2.priority) { in comparePrioritizedVariants()
/external/icu/icu4c/source/i18n/
Dmessageformat2_evaluation.h56 const PrioritizedVariant& tuple2 = *(static_cast<const PrioritizedVariant*>(right.pointer)); in comparePrioritizedVariants() local
57 if (tuple1 < tuple2) { in comparePrioritizedVariants()
60 if (tuple1.priority == tuple2.priority) { in comparePrioritizedVariants()
/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/
Dmhlo_mark_shape_calc_op.mlir54 %tuple2 = "mhlo.tuple"(%element) : (tensor<i64>) -> tuple<tensor<i64>>
55 …%element2 = "mhlo.get_tuple_element"(%tuple2) {index = 0 : i32} : (tuple<tensor<i64>>) -> tensor<i…
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconditional_test.cc761 const Shape tuple2 = ShapeUtil::MakeTupleShape({scalar, scalar}); in XLA_TEST_F() local
765 auto p = Parameter(&builder, 0, tuple2, "then.p"); in XLA_TEST_F()
774 auto p = Parameter(&builder, 0, tuple2, "else.p"); in XLA_TEST_F()
789 auto p = Parameter(&builder, 0, tuple2, "p0"); in XLA_TEST_F()
802 auto p = Parameter(&builder, 0, tuple2, "p0"); in XLA_TEST_F()
/external/python/cpython3/Lib/test/
Dtest_pprint.py27 class tuple2(tuple): class
229 (), tuple2(), tuple3(),
238 tuple2((1,2)), tuple3((1,2)), tuple3(range(100)),
306 for type in [tuple, tuple2]:
Dtest_itertools.py2664 def mutatingtuple(tuple1, f, tuple2): argument
2673 items = list(tuple2)
/external/pytorch/torch/_dynamo/repro/
Dafter_aot.py605 def compare_tuples(tuple1, tuple2): argument
606 diff_indices = [i for i in range(len(tuple1)) if tuple1[i] != tuple2[i]]
607 diff_values = [(tuple1[i], tuple2[i]) for i in diff_indices]
/external/pytorch/aten/src/ATen/core/
Dtype.cpp404 auto tuple2 = t2->castRaw<TupleType>(); in unifyTypesImpl() local
405 if (tuple1->elements().size() != tuple2->elements().size()) { in unifyTypesImpl()
410 …if (auto elem = unifyTypes(tuple1->elements().at(i), tuple2->elements().at(i), default_to_union)) { in unifyTypesImpl()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cost_analysis_test.cc785 auto tuple2 = builder.AddInstruction( in TEST_F() local
791 {tuple2, sub, mul, exp, clamp, add}, HloInstruction::FusionKind::kLoop); in TEST_F()
Dhlo_evaluator_test.cc3207 auto tuple2 = in TEST_P() local
3211 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); in TEST_P()
3214 HloInstruction::CreateGetTupleElement(tuple2->shape(), outer_tuple, 1)); in TEST_P()
4956 HloInstruction* tuple2 = in TEST_F() local
4959 b.AddInstruction(HloInstruction::CreateGetTupleElement(tuple2, 0)); in TEST_F()
/external/python/cpython3/Lib/unittest/
Dcase.py1115 def assertTupleEqual(self, tuple1, tuple2, msg=None): argument
1124 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)