Home
last modified time | relevance | path

Searched refs:ReplaceUseWith (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_domain_isolator.cc50 TF_RETURN_IF_ERROR(operand->ReplaceUseWith(instruction, domain)); in RunInternal()
Dcopy_insertion.cc281 TF_RETURN_IF_ERROR(while_init->ReplaceUseWith(xla_while, while_init_copy)); in AddCopiesForWhile()
306 TF_RETURN_IF_ERROR(param->ReplaceUseWith(user, param_copy)); in AddCopiesForWhile()
329 TF_RETURN_IF_ERROR(root->ReplaceUseWith(user, deep_copy)); in AddCopiesForConditional()
380 TF_RETURN_IF_ERROR(param->ReplaceUseWith(user, copied)); in AddCopiesForAliasedInputOutputs()
1082 TF_RETURN_IF_ERROR(instruction->ReplaceUseWith(user, deep_copy)); in AddSpecialCaseCopies()
Dar_crs_combiner.cc329 TF_CHECK_OK(all_reduce->ReplaceUseWith(next, prev)); in RewriteGraph()
360 TF_CHECK_OK(other_operand->ReplaceUseWith(next, division)); in RewriteGraph()
Dbfloat16_normalization.cc91 TF_RETURN_IF_ERROR(hlo->ReplaceUseWith(user, convert)); in InsertConvertAfterOutput()
259 TF_RETURN_IF_ERROR(hlo->ReplaceUseWith(user, tuple)); in HandleMultipleOutputs()
Dhlo_domain_test.cc407 TF_EXPECT_OK(infeed_data->ReplaceUseWith(user, new_tuple)); in TEST_F()
656 TF_EXPECT_OK(tuple0->ReplaceUseWith(user, tuple1)); in TEST_F()
Dhlo_reachability_test.cc175 ASSERT_IS_OK(constant2->ReplaceUseWith(negate, constant1)); in TEST_F()
Dhlo_sharding_metadata.cc130 pass_through.operand->ReplaceUseWith(pass_through.user, gte)); in FixupPassThroughDomainLinks()
Dhlo_instruction_test.cc427 ASSERT_IS_OK(foo->ReplaceUseWith(add_foofoo, bar)); in TEST_F()
462 ASSERT_IS_OK(foo->ReplaceUseWith(tuple, bar)); in TEST_F()
491 ASSERT_IS_OK(foo->ReplaceUseWith(exp, bar)); in TEST_F()
Dbfloat16_propagation.cc750 TF_RETURN_IF_ERROR(operand->ReplaceUseWith(inst, copy)); in Run()
Dhlo_rematerialization.cc1070 TF_RETURN_IF_ERROR(best->ReplaceUseWith(user, remat)); in RematerializeComputation()
Dhlo_instruction.h964 Status ReplaceUseWith(HloInstruction* user, HloInstruction* new_producer);
Dhlo_instructions.cc1259 instruction_to_merge->ReplaceUseWith(this, unfused_instructions.front())); in MergeFusionInstruction()
Dhlo_instruction.cc1889 Status HloInstruction::ReplaceUseWith(HloInstruction* user, in ReplaceUseWith() function in xla::HloInstruction