From abfdbf5647188ba6cb7c4e8652c54d247c1caca8 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Thu, 27 Aug 2020 18:45:08 +0000 Subject: [PATCH] Update tensorflow/core/kernels/image/crop_and_resize_op.cc --- tensorflow/core/kernels/image/crop_and_resize_op.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/tensorflow/core/kernels/image/crop_and_resize_op.cc b/tensorflow/core/kernels/image/crop_and_resize_op.cc index 97f92113ec0..18a66afe073 100644 --- a/tensorflow/core/kernels/image/crop_and_resize_op.cc +++ b/tensorflow/core/kernels/image/crop_and_resize_op.cc @@ -260,7 +260,6 @@ struct CropAndResize { continue; } if (method_name == "bilinear") { - const int top_y_index = floorf(in_y); const int bottom_y_index = ceilf(in_y); const float y_lerp = in_y - top_y_index;