Home
last modified time | relevance | path

Searched refs:kBroadcast (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/
Dtooling_util_test.cc27 enum class Agreement { kBroadcast, kExtend, kBroadcastNotExtend, kNeither }; enumerator
40 {Shape({3}), Shape({3}), Agreement::kBroadcast}, in CreateShapePairs()
41 {Shape({256, 256, 3}), Shape({256, 256, 3}), Agreement::kBroadcast}, in CreateShapePairs()
42 {Shape({256, 256, 3}), Shape({3}), Agreement::kBroadcast}, in CreateShapePairs()
43 {Shape({8, 1, 6, 1}), Shape({7, 1, 5}), Agreement::kBroadcast}, in CreateShapePairs()
44 {Shape({}), Shape({3}), Agreement::kBroadcast}, in CreateShapePairs()
45 {Shape({}), Shape({3, 1}), Agreement::kBroadcast}, in CreateShapePairs()
75 case Agreement::kBroadcast: { in TEST_P()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dinstruction_fusion.cc144 op2->opcode() != HloOpcode::kBroadcast) { in ShouldFuseInexpensiveChecks()
154 if (alpha->opcode() == HloOpcode::kBroadcast && in ShouldFuseInexpensiveChecks()
183 if (producer->opcode() == HloOpcode::kBroadcast) { in ShouldFuseInexpensiveChecks()
Dgpu_fusible.cc165 instr.opcode() == HloOpcode::kBroadcast || in IsLoopFusible()
Delemental_ir_emitter.cc65 return operand->opcode() == HloOpcode::kBroadcast && in IsFPLiteralWithValue()
/external/tensorflow/tensorflow/core/nccl/
Dnccl_manager.cc358 AddParticipant(std::move(participant), context, kBroadcast, in AddBroadcastSend()
364 AddParticipant(std::move(participant), context, kBroadcast, in AddBroadcastRecv()
521 if (collective->type == kBroadcast) { in RunCollective()
584 case kBroadcast: { in LoopKernelLaunches()
Dnccl_manager.h175 kBroadcast = 2, enumerator
/external/tensorflow/tensorflow/compiler/xla/service/
Dreshape_mover.cc84 if (instruction->opcode() == HloOpcode::kBroadcast && in CanTriviallyChangeShape()
171 case HloOpcode::kBroadcast: { in UpdateOperand()
Dhlo_constant_folding.cc104 if (instruction->opcode() == HloOpcode::kBroadcast || in Run()
Dbfloat16_support.cc83 case HloOpcode::kBroadcast: in EffectiveOperandPrecisionIsOutputPrecision()
Ddynamic_padder.cc79 case HloOpcode::kBroadcast: in ChooseIdentityValue()
Dhlo_opcode.h63 V(kBroadcast, "broadcast", 1) \
Dinstruction_fusion.cc64 case HloOpcode::kBroadcast: in IsExpensive()
183 if (operand->opcode() == HloOpcode::kBroadcast || in EffectivelyAtMostUnary()
Dwhile_loop_invariant_code_motion.cc114 case HloOpcode::kBroadcast: in NotWorthHoistingIndividually()
Dalgebraic_simplifier.cc70 case HloOpcode::kBroadcast: in IsAll()
2128 if (operand->opcode() == HloOpcode::kBroadcast) { in HandleBroadcast()
2384 TF_RET_CHECK(broadcast->opcode() == HloOpcode::kBroadcast); in TryToSinkBroadcastAfterOpWithUniqueNonScalarOperand()
2412 if (user_operand->opcode() == HloOpcode::kBroadcast && in TryToSinkBroadcastAfterOpWithUniqueNonScalarOperand()
2426 if (user_operand->opcode() == HloOpcode::kBroadcast && in TryToSinkBroadcastAfterOpWithUniqueNonScalarOperand()
2624 if (HloOpcode::kBroadcast == reshape->operand(0)->opcode()) { in HandleReshape()
2842 if (slice->operand(0)->opcode() != HloOpcode::kBroadcast) { in HandleSlice()
Dhlo_rematerialization_test.cc464 if (instruction->opcode() == HloOpcode::kBroadcast) { in TEST_F()
Dhlo_instruction.cc276 case HloOpcode::kBroadcast: in CreateFromProto()
1362 case HloOpcode::kBroadcast: in CloneWithNewOperands()
1813 case HloOpcode::kBroadcast: in IdenticalSlowPath()
2605 case HloOpcode::kBroadcast: in Visit()
Dindexed_array_analysis.cc865 HloOpcode::kBroadcast) { in ComputeArrayForElementwiseBinaryOp()
Dalgebraic_simplifier_test.cc1335 EXPECT_EQ(root->operand(0)->opcode(), HloOpcode::kBroadcast); in TEST_F()
3889 EXPECT_EQ(root->opcode(), HloOpcode::kBroadcast); in TEST_F()
3915 EXPECT_EQ(root->opcode(), HloOpcode::kBroadcast); in TEST_F()
3935 EXPECT_EQ(root->opcode(), HloOpcode::kBroadcast); in TEST_F()
3956 EXPECT_EQ(root->opcode(), HloOpcode::kBroadcast); in TEST_F()
Dhlo_graph_dumper.cc982 case HloOpcode::kBroadcast: in GetInstructionColor()
Dbuffer_assignment_test.cc2025 ASSERT_EQ(bcast->opcode(), HloOpcode::kBroadcast); in TEST_F()
2092 ASSERT_EQ(bcast->opcode(), HloOpcode::kBroadcast); in TEST_F()
Dlayout_assignment.cc2049 case HloOpcode::kBroadcast: in InstructionCanChangeLayout()
Dcopy_insertion_test.cc840 ASSERT_EQ(bcast->opcode(), HloOpcode::kBroadcast); in TEST_F()
Dhlo_instructions.cc872 : HloInstruction(HloOpcode::kBroadcast, shape), in HloBroadcastInstruction()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc34 hlo.opcode() == HloOpcode::kBroadcast || in CanBeLoopFused()
Dcpu_instruction_fusion_test.cc361 HloOpcode::kBroadcast, HloOpcode::kParameter, HloOpcode::kParameter, in TEST_F()
381 {HloOpcode::kNegate, HloOpcode::kBroadcast, HloOpcode::kParameter}); in TEST_F()
758 {HloOpcode::kGather, HloOpcode::kAdd, HloOpcode::kBroadcast, in TEST_P()

12