MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ChooseFusionKind

Function ChooseFusionKind

tensorflow/compiler/xla/service/gpu/gpu_fusible.cc:473–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473HloInstruction::FusionKind ChooseFusionKind(const HloInstruction& /*producer*/,
474 const HloInstruction& consumer) {
475 return IsInputFusible(consumer) ? HloInstruction::FusionKind::kInput
476 : HloInstruction::FusionKind::kLoop;
477}
478
479bool IsConsumerTheOnlyNonRootUser(const HloInstruction& instr,
480 const HloInstruction& consumer) {

Callers 2

ChooseKindMethod · 0.85
DoMultiOutputFusionMethod · 0.85

Calls 1

IsInputFusibleFunction · 0.85

Tested by

no test coverage detected