| 113 | } |
| 114 | |
| 115 | HloComputation* HloModule::AddEntryComputation( |
| 116 | std::unique_ptr<HloComputation> computation) { |
| 117 | return AddComputationInternal(std::move(computation), /*is_entry=*/true, |
| 118 | /*uniquify_identifiers=*/true); |
| 119 | } |
| 120 | |
| 121 | Status HloModule::RemoveEmbeddedComputation(HloComputation* to_remove) { |
| 122 | if (has_schedule() && !to_remove->IsFusionComputation()) { |
no outgoing calls