Home
last modified time | relevance | path

Searched refs:in_y1 (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Dresize_area_op_test.cc106 const float in_y1 = (y + 1) * height_scale; in ResizeAreaBaseline() local
110 int64 y_end = std::ceil(in_y1); in ResizeAreaBaseline()
123 ? (i + 1 > in_y1 ? height_scale : i + 1 - in_y) in ResizeAreaBaseline()
124 : (i + 1 > in_y1 ? in_y1 - i : 1.0); in ResizeAreaBaseline()
Dresize_area_op.cc227 const float in_y1 = (y + 1) * st.height_scale; in ComputeLoop() local
231 const int64 y_end = std::ceil(in_y1); in ComputeLoop()
237 scale_y = (i + 1 > in_y1 ? st.height_scale : i + 1 - in_y); in ComputeLoop()
239 scale_y = (i + 1 > in_y1 ? in_y1 - i : 1.0); in ComputeLoop()