/external/tensorflow/tensorflow/compiler/xla/ |
H A D | layout_util_test.cc | 54 Shape tuple2 = ShapeUtil::MakeTupleShape({shape, shape}); local 58 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple0, tuple2)); 60 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple0)); 63 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple1, tuple2)); 64 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple1)); 67 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, tuple2)); 68 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(tuple2, other_tuple2)); 69 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(other_tuple2, tuple2));
|
H A D | shape_util_test.cc | 194 Shape tuple2 = ShapeUtil::MakeTupleShape( local 196 EXPECT_TRUE(ShapeUtil::Compatible(tuple1, tuple2)); 202 Shape tuple2 = ShapeUtil::MakeTupleShape( local 204 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); 210 Shape tuple2 = ShapeUtil::MakeTupleShape( local 212 EXPECT_FALSE(ShapeUtil::Compatible(tuple1, tuple2)); 213 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringElementType(tuple1, tuple2)); 219 Shape tuple2 = ShapeUtil::MakeTupleShape( local 221 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); 227 Shape tuple2 local 236 Shape tuple2 = ShapeUtil::MakeTupleShape( local [all...] |
H A D | literal_util_test.cc | 364 auto tuple2 = Literal::MakeTuple({scalar_clone.get(), matrix.get()}); local 365 EXPECT_EQ(*tuple1, *tuple2);
|
/external/python/cpython2/Lib/test/ |
H A D | test_pprint.py | 20 class tuple2(tuple): class in inherits:tuple 130 (), tuple2(), tuple3(), 139 tuple2((1,2)), tuple3((1,2)), tuple3(range(100)), 180 for type in [tuple, tuple2]:
|
H A D | test_builtin.py | 529 class tuple2(tuple): class in function:BuiltinTest.test_filter_subclasses 536 tuple2: {(): (), (1, 2, 3): (2, 4, 6)},
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | while_loop_simplifier_test.cc | 383 auto* tuple2 = body_builder.AddInstruction( local 386 HloInstruction::CreateTuple({tuple0, tuple1, tuple2}));
|
H A D | tuple_points_to_analysis_test.cc | 371 auto tuple2 = builder.AddInstruction( local 377 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); 449 auto tuple2 = builder.AddInstruction( local 455 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); 485 auto tuple2 = local 491 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); 510 UnorderedElementsAre(tuple1, tuple2));
|
H A D | hlo_alias_analysis_test.cc | 672 auto tuple2 = local 682 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple2)); 734 // %tuple2 = Tuple(%constant2) 735 // %select = Select(%tuple1, %tuple2) 769 auto tuple2 = local 772 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple2));
|
H A D | hlo_evaluator_test.cc | 1611 auto tuple2 = local 1615 b.AddInstruction(HloInstruction::CreateTuple({tuple1, tuple2})); 1618 HloInstruction::CreateGetTupleElement(tuple2->shape(), outer_tuple, 1));
|
H A D | copy_insertion_test.cc | 203 HloInstruction* tuple2 = builder.AddInstruction( local 209 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); 212 EXPECT_THAT(constant2->users(), UnorderedElementsAre(tuple1, tuple2)); 213 EXPECT_THAT(constant3->users(), UnorderedElementsAre(tuple2)); 374 HloInstruction* tuple2 = builder.AddInstruction( local 380 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); 684 auto tuple2 = builder.AddInstruction(HloInstruction::CreateTuple({v2, v1})); local 689 nested_tuple_shape_, HloOpcode::kSelect, pred, tuple1, tuple2)); 1075 // select = Select(pred, tuple1, tuple2)
|
H A D | hlo_dataflow_analysis_test.cc | 878 auto tuple2 = local 888 tuple_shape, HloOpcode::kSelect, pred, tuple1, tuple2)); 960 auto tuple2 = builder.AddInstruction( local 963 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2)); 1000 // %tuple2 = Tuple(%constant2) 1001 // %select = Select(%tuple1, %tuple2) 1043 auto tuple2 = local 1046 tuple1->shape(), HloOpcode::kSelect, pred, tuple1, tuple2));
|
/external/python/cpython3/Lib/test/ |
H A D | test_pprint.py | 21 class tuple2(tuple): class in inherits:tuple 166 (), tuple2(), tuple3(), 175 tuple2((1,2)), tuple3((1,2)), tuple3(range(100)), 216 for type in [tuple, tuple2]:
|