message: TF2.5 - Add missing preserve frontend attributes
  Summary:
  Ref T51852
  TF2.5 Only
  Reviewers: christiana, #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved
  Maniphest Tasks: T51852
diff: @@ -1032,8 +1032,10 @@ StatusOr<bool> AlgebraicSimplifierVisitor::RemoveDegenerateDimensionFromDot(
  : dot->mutable_operand(1);
  TF_ASSIGN_OR_RETURN(
  auto new_dot,
  + pp::algebraic_simplifier::util::PreserveFrontendAttributesIfNeeded(
  MakeDotHlo(new_lhs, new_rhs, new_dnums, dot->precision_config(),
  - /*preferred_element_type=*/dot->shape().element_type()));
  + /*preferred_element_type=*/dot->shape().element_type()),
  + dot));
  if (ShapeUtil::Compatible(dot->shape(), new_dot->shape())) {
  TF_RETURN_IF_ERROR(ReplaceInstruction(dot, new_dot));
  } else {
  