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