diff --git a/tensorflow/c/eager/gradients_util.cc b/tensorflow/c/eager/gradients_util.cc index 196fe81c6fc..e53faf4a3f3 100644 --- a/tensorflow/c/eager/gradients_util.cc +++ b/tensorflow/c/eager/gradients_util.cc @@ -39,7 +39,6 @@ using namespace std; Status ScalarTensorHandleHelper(TFE_Context* ctx, float value, TFE_TensorHandle** result) { float data[] = {value}; - // TF_Status* status = TF_NewStatus(); std::unique_ptr status( TF_NewStatus(), TF_DeleteStatus); TF_Tensor* t = diff --git a/tensorflow/c/eager/mnist_gradients_testutil.cc b/tensorflow/c/eager/mnist_gradients_testutil.cc index d6010c14880..c1e62457ebb 100644 --- a/tensorflow/c/eager/mnist_gradients_testutil.cc +++ b/tensorflow/c/eager/mnist_gradients_testutil.cc @@ -28,8 +28,6 @@ limitations under the License. #include "tensorflow/c/experimental/ops/array_ops.h" #include "tensorflow/c/experimental/ops/math_ops.h" #include "tensorflow/c/experimental/ops/nn_ops.h" -#include "tensorflow/c/tf_status_helper.h" -#include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h" // ========================== Tape Ops ==============================