Searched refs:old_gte (Results 1 – 1 of 1) sorted by relevance
1781 for (auto old_gte : clone->users()) { in CloneAndFuseInternal() local1782 CHECK_EQ(old_gte->opcode(), HloOpcode::kGetTupleElement); in CloneAndFuseInternal()1783 int64 old_tuple_index = old_gte->tuple_index(); in CloneAndFuseInternal()1786 old_gte->shape(), this, index + old_tuple_index)); in CloneAndFuseInternal()1787 TF_CHECK_OK(old_gte->ReplaceAllUsesWith(new_gte)); in CloneAndFuseInternal()1788 to_be_removed.push_back(old_gte); in CloneAndFuseInternal()1790 for (auto old_gte : to_be_removed) { in CloneAndFuseInternal() local1791 TF_CHECK_OK(parent()->RemoveInstruction(old_gte)); in CloneAndFuseInternal()