[tf.data] Stop to record graduated experiments for in the future some of them may not appear in the `graduated_experiments` list.

PiperOrigin-RevId: 335495276
Change-Id: Ibf11b782371375ebc6acd7e6a906d68fa0128bae
diff --git a/tensorflow/core/kernels/data/optimize_dataset_op.cc b/tensorflow/core/kernels/data/optimize_dataset_op.cc
index 6138378..a2e0a1e 100644
--- a/tensorflow/core/kernels/data/optimize_dataset_op.cc
+++ b/tensorflow/core/kernels/data/optimize_dataset_op.cc
@@ -112,15 +112,13 @@
   std::vector<string> graduated_experiments = {"disable_intra_op_parallelism"};
   // clang-format on
 
-  // Add the graduated experiments to the optimization list. Also log and
-  // record.
+  // Add the graduated experiments to the optimization list and log them.
   for (auto& experiment : graduated_experiments) {
     if (std::find(optimizations.begin(), optimizations.end(), experiment) ==
         optimizations.end()) {
       optimizations.push_back(experiment);
     }
     VLOG(1) << "The graduated experiment \"" << experiment << "\" is applied.";
-    metrics::RecordTFDataExperiment(experiment);
   }
 
   // If there are no optimizations to be applied, directly return the input.