Home
last modified time | relevance | path

Searched refs:CreateTernary (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dreshape_mover_test.cc201 builder.AddInstruction(HloInstruction::CreateTernary(
282 builder.AddInstruction(HloInstruction::CreateTernary(
434 builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
464 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
Dcomparison_expander.cc59 HloInstruction::CreateTernary(signed_shape, HloOpcode::kSelect, in BitcastConvertFloatingPointToIntegral()
Dhlo_alias_analysis_test.cc870 auto select11 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
872 auto select12 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
874 auto select34 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
876 auto select1234 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
963 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
Dtuple_points_to_analysis_test.cc421 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
450 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
499 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
535 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
Dstable_sort_expander.cc191 comparator->AddInstruction(HloInstruction::CreateTernary( in ExpandInstruction()
Dconvolution_group_converter.cc347 auto new_filter = add(HloInstruction::CreateTernary( in HandleBatchGroupCount()
476 auto new_filter = add(HloInstruction::CreateTernary( in HandleConvolution()
Dhlo_dataflow_analysis_test.cc913 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_P()
950 auto select11 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_P()
952 auto select12 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_P()
954 auto select34 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_P()
956 auto select1234 = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_P()
1028 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_P()
1112 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_P()
Dhlo_cost_analysis_test.cc614 HloInstruction::CreateTernary(r2f32, HloOpcode::kClamp, c2, add, add)); in TEST_F()
675 HloInstruction::CreateTernary(r2f32, HloOpcode::kClamp, c2, add, add)); in TEST_F()
Dconditional_simplifier.cc179 return computation->AddInstruction(HloInstruction::CreateTernary( in TryRemoveConditional()
Dalgebraic_simplifier.cc1489 computation->AddInstruction(HloInstruction::CreateTernary( in TryDivideToShift()
1501 return HloInstruction::CreateTernary(divide->shape(), HloOpcode::kSelect, in TryDivideToShift()
2557 HloInstruction::CreateTernary(gather->shape(), HloOpcode::kSelect, in HandleGather()
2599 return HloInstruction::CreateTernary(to_clamp->shape(), HloOpcode::kClamp, in MinMaxToClamp()
2740 multiply, HloInstruction::CreateTernary( in HandleMultiply()
3713 computation->AddInstruction(HloInstruction::CreateTernary( in TryRemainderToAnd()
3725 return HloInstruction::CreateTernary( in TryRemainderToAnd()
5564 auto clamp = HloInstruction::CreateTernary(root->shape(), HloOpcode::kClamp, in TransformToClampIfSameShape()
Dhlo_evaluator_test.cc124 b.AddInstruction(HloInstruction::CreateTernary( in TestTernaryOp()
233 HloInstruction::CreateTernary(shape, HloOpcode::kClamp, c1, c2, c3)); in TEST_P()
259 HloInstruction::CreateTernary(shape, HloOpcode::kClamp, c1, c2, c3)); in TEST_P()
281 HloInstruction::CreateTernary(shape, HloOpcode::kClamp, c1, c2, c3)); in TEST_P()
306 HloInstruction::CreateTernary(shape, HloOpcode::kSelect, c1, c2, c3)); in TEST_P()
Dcopy_insertion_test.cc213 builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
385 HloInstruction* select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
704 auto data_init = builder.AddInstruction(HloInstruction::CreateTernary( in BuildWhileInstruction_InitPointsToAmbiguous()
Dbfloat16_propagation_test.cc115 HloInstruction::CreateTernary(shape, HloOpcode::kSelect, pred, c, add1)); in TEST_F()
564 HloInstruction* sel = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
Dhlo_creation_utils.cc408 computation->AddInstruction(HloInstruction::CreateTernary( in MakeSelectHlo()
Ddynamic_padder.cc271 HloInstruction::CreateTernary(inst->shape(), HloOpcode::kSelect, pred, in PadWithScalar()
1379 update = comp->AddInstruction(HloInstruction::CreateTernary( in RewriteDynamicUpdateSlice()
Dhlo_instruction.h563 static std::unique_ptr<HloInstruction> CreateTernary(const Shape& shape,
Dlayout_assignment_test.cc266 auto select = builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
Dhlo_instruction.cc953 /* static */ std::unique_ptr<HloInstruction> HloInstruction::CreateTernary( in CreateTernary() function in xla::HloInstruction
1769 clone = CreateTernary(shape, opcode_, new_operands[0], new_operands[1], in CloneWithNewOperands()
Dhlo_instruction_test.cc871 HloInstruction::CreateTernary(r0f32_, HloOpcode::kClamp, c2, add, add)); in TEST_F()
Dalgebraic_simplifier_test.cc529 builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
551 builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
571 builder.AddInstruction(HloInstruction::CreateTernary( in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcusolver_rewriter.cc124 computation->AddInstruction(HloInstruction::CreateTernary( in CreateCholesky()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dgather_scatter_handler.cc241 HloInstruction::CreateTernary(indices.base_shape(), HloOpcode::kClamp, in ParititonTrivialIndexedOperandDimension()
282 auto filtered = b->AddInstruction(HloInstruction::CreateTernary( in ParititonTrivialIndexedOperandDimension()
596 b_.AddInstruction(HloInstruction::HloInstruction::CreateTernary( in HandleScatter()
Dspmd_partitioner.cc539 auto result = state_.b->AddInstruction(HloInstruction::CreateTernary( in PadWithValue()
1075 auto operand = state_.b->AddInstruction(HloInstruction::CreateTernary( in Broadcast()
2429 new_indices[dim] = add_hlo(HloInstruction::CreateTernary( in HandleDynamicUpdateSlice()
2444 return add_hlo(HloInstruction::CreateTernary( in HandleDynamicUpdateSlice()
3355 slice_offsets[i] = b_.AddInstruction(HloInstruction::CreateTernary( in HandleSelectAndScatter()
Dspmd_partitioner_util.cc1065 HloInstruction::CreateTernary(valid_slice->shape(), HloOpcode::kSelect, in ExchangeHaloAndGetValidData()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcpu_gpu_fusion_test.cc117 root_hlo = HloInstruction::CreateTernary(answer_shape, opcode, hlos[1], in TestElementwise2D()
226 HloInstruction::CreateTernary(ShapeUtil::MakeShape(F32, {2, 3}), in XLA_TEST_F()

12