Update tensorflow/core/kernels/image/crop_and_resize_op.cc
This commit is contained in:
parent
14589c930a
commit
abfdbf5647
@ -260,7 +260,6 @@ struct CropAndResize<CPUDevice, T> {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user