Searched refs:ReplaceWithNewInstruction (Results 1 – 16 of 16) sorted by relevance
366 Status ReplaceWithNewInstruction( in ReplaceWithNewInstruction() function in xla::__anon4eef97bd0111::AlgebraicSimplifierVisitor372 TF_RETURN_IF_ERROR(computation_->ReplaceWithNewInstruction( in ReplaceWithNewInstruction()507 return ReplaceWithNewInstruction( in HandleAdd()524 return ReplaceWithNewInstruction( in HandleAdd()556 return ReplaceWithNewInstruction( in HandleAdd()607 return ReplaceWithNewInstruction( in HandleBitcast()628 return ReplaceWithNewInstruction( in HandleCopy()812 return ReplaceWithNewInstruction( in HandleConstant()821 return ReplaceWithNewInstruction( in HandleConstant()841 return ReplaceWithNewInstruction( in HandleSubtract()[all …]
139 Status ReplaceWithNewInstruction( in ReplaceWithNewInstruction() function in xla::__anon406107c40111::BatchNormExpanderVisitor142 TF_RETURN_IF_ERROR(computation_->ReplaceWithNewInstruction( in ReplaceWithNewInstruction()322 TF_CHECK_OK(ReplaceWithNewInstruction(batch_norm, std::move(tuple))); in HandleBatchNormTraining()427 ReplaceWithNewInstruction(batch_norm, std::move(shifted_normalized))); in HandleBatchNormInference()605 TF_CHECK_OK(ReplaceWithNewInstruction(batch_norm, std::move(tuple))); in HandleBatchNormGrad()
311 TF_RETURN_IF_ERROR(computation_->ReplaceWithNewInstruction( in HandleBatchGroupCount()384 TF_RETURN_IF_ERROR(computation_->ReplaceWithNewInstruction( in HandleConvolution()453 TF_RETURN_IF_ERROR(computation_->ReplaceWithNewInstruction( in HandleConvolution()531 TF_RETURN_IF_ERROR(computation_->ReplaceWithNewInstruction( in HandleConvolution()
112 return dot->parent()->ReplaceWithNewInstruction(dot, std::move(new_dot)); in FoldTransposeIntoDot()181 TF_CHECK_OK(convolution.parent()->ReplaceWithNewInstruction( in FoldTransposeIntoConvolution()
46 TF_RETURN_IF_ERROR(comp->ReplaceWithNewInstruction( in Run()
150 TF_RETURN_IF_ERROR(computation->ReplaceWithNewInstruction( in Run()
91 TF_CHECK_OK(parent->ReplaceWithNewInstruction(dynamic_op, in Run()
435 TF_RETURN_IF_ERROR(computation->ReplaceWithNewInstruction( in TryRemoveConstantParams()729 TF_RETURN_IF_ERROR(computation->ReplaceWithNewInstruction( in TryFlattenNestedTuples()970 TF_RETURN_IF_ERROR(computation->ReplaceWithNewInstruction( in TryMergeInductionVariables()
254 TF_RETURN_IF_ERROR(computation->ReplaceWithNewInstruction( in PerformSinkReshapeOrTranspose()
277 Status ReplaceWithNewInstruction(
755 Status HloComputation::ReplaceWithNewInstruction( in ReplaceWithNewInstruction() function in xla::HloComputation
85 computation_->ReplaceWithNewInstruction(batch_norm, std::move(libcall))); in HandleBatchNormInference()153 TF_RETURN_IF_ERROR(computation_->ReplaceWithNewInstruction( in HandleBatchNormTraining()204 computation_->ReplaceWithNewInstruction(batch_norm, std::move(libcall))); in HandleBatchNormGrad()
150 TF_RETURN_IF_ERROR(instruction->parent()->ReplaceWithNewInstruction( in RunOnInstruction()
272 TF_RETURN_IF_ERROR(computation->ReplaceWithNewInstruction( in Run()
546 TF_RETURN_IF_ERROR(conv->parent()->ReplaceWithNewInstruction( in RunOnInstruction()
139 TF_RETURN_IF_ERROR(module->entry_computation()->ReplaceWithNewInstruction( in Run()