Problem
Bilinear Resize2 in tf_crop_and_resize mode treated a sample that lands exactly on the last input pixel as out of bounds, so the last output row and column got extrapolation_value whenever the crop box reached the input edge.
Fix
Check the sample position src against [0, inLen - 1] instead of checking floor(src) >= inLen - 1, and cap the second neighbour i1 at inLen - 1 so the last pixel never reads past the row.