Searched refs:RemoveInstruction (Results 1 – 17 of 17) sorted by relevance
83 TF_RETURN_IF_ERROR(computation->RemoveInstruction(operand)); in Run()92 TF_RETURN_IF_ERROR(computation->RemoveInstruction(root)); in Run()
85 TF_CHECK_OK(computation->RemoveInstruction(instruction)); in CombineConstants()159 TF_RETURN_IF_ERROR(computation->RemoveInstruction(instruction)); in Run()
153 TF_RETURN_IF_ERROR(RemoveInstruction(param_instruction)); in RemoveParameter()162 TF_RETURN_IF_ERROR(RemoveInstruction(param_instruction)); in RemoveParameter()176 TF_RETURN_IF_ERROR(RemoveInstruction(param_instruction)); in RemoveUnusedParameters()188 TF_RETURN_IF_ERROR(RemoveInstruction(param_instruction)); in RemoveUnusedParameters()244 TF_RETURN_IF_ERROR(RemoveInstruction(item)); in RemoveInstructionAndUnusedOperands()250 Status HloComputation::RemoveInstruction(HloInstruction* instruction) { in RemoveInstruction() function in xla::HloComputation604 TF_CHECK_OK(RemoveInstruction(root)); in FuseInstructionsInto()609 TF_CHECK_OK(RemoveInstruction(instruction)); in FuseInstructionsInto()
48 virtual void RemoveInstruction(HloInstruction* instruction) = 0;
431 void RemoveInstruction(HloInstruction* instruction) override { in RemoveInstruction() function in xla::__anon67f11ea50611::ReversePostOrderFusionQueue516 fusion_queue->RemoveInstruction(operand); in Run()518 TF_RETURN_IF_ERROR(computation_->RemoveInstruction(operand)); in Run()
86 fusion_instruction->parent()->RemoveInstruction(fusion_instruction)); in Defuse()
84 TF_RETURN_IF_ERROR(computation_->RemoveInstruction(map)); in HandleMap()
412 EXPECT_IS_OK(computation->RemoveInstruction(y)); in TEST_F()448 EXPECT_IS_OK(computation->RemoveInstruction(y)); in TEST_F()495 EXPECT_IS_OK(computation->RemoveInstruction(y)); in TEST_F()
218 TF_RETURN_IF_ERROR(computation->RemoveInstruction(hlo)); in Run()
462 TF_EXPECT_OK(module->entry_computation()->RemoveInstruction(gte)); in TEST_F()463 TF_EXPECT_OK(module->entry_computation()->RemoveInstruction(tuple)); in TEST_F()
136 Status RemoveInstruction(HloInstruction* instruction);
130 TF_RETURN_IF_ERROR(containing_computation->RemoveInstruction(while_instr)); in MakeInstructionsLiveIn()
330 TF_CHECK_OK(parent_computation->RemoveInstruction(all_reduce)); in RewriteGraph()
1311 instruction_to_merge->parent()->RemoveInstruction(instruction_to_merge)); in MergeFusionInstructionIntoMultiOutput()1318 TF_CHECK_OK(unfused_root->parent()->RemoveInstruction(unfused_root)); in MergeFusionInstructionIntoMultiOutput()1323 TF_CHECK_OK(instruction->parent()->RemoveInstruction(instruction)); in MergeFusionInstructionIntoMultiOutput()1497 fused_instructions_computation()->RemoveInstruction(fused_root)); in CloneAndFuseInternal()1522 TF_CHECK_OK(parent()->RemoveInstruction(old_gte)); in CloneAndFuseInternal()
485 TF_CHECK_OK(computation->RemoveInstruction(*i)); in OutlineExpressionFromComputation()
2110 TF_RETURN_IF_ERROR(computation->RemoveInstruction(instruction)); in ClearPreviousPassSideEffects()
286 return computation_->RemoveInstruction(fusion); in HandleFusion()