/external/tensorflow/tensorflow/core/kernels/ |
resize_bilinear_op_test.cc | 104 const float x_lerp = in_x - std::floor(in_x); local 112 const float top = top_left + (top_right - top_left) * x_lerp; 114 bottom_left + (bottom_right - bottom_left) * x_lerp;
|
crop_and_resize_op_gpu.cu.cc | 95 const float x_lerp = in_x - left_x_index; local 117 const float top = top_left + (top_right - top_left) * x_lerp; 118 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; 185 const float x_lerp = in_x - left_x_index; local 193 static_cast<T>((1 - x_lerp) * dtop)); 199 static_cast<T>(x_lerp * dtop)); 207 static_cast<T>((1 - x_lerp) * dbottom)); 213 static_cast<T>(x_lerp * dbottom)); 285 const float x_lerp = in_x - left_x_index; local 309 float image_grad_y = (1 - x_lerp) * (bottom_left - top_left) [all...] |
resize_bilinear_op_gpu.cu.cc | 62 const float x_lerp = in_x - left_x_index; local 81 const float top = top_left + (top_right - top_left) * x_lerp; 82 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; 117 const float x_lerp = original_x - floorf(original_x); local 125 static_cast<T>((1 - x_lerp) * dtop)); 131 static_cast<T>(x_lerp * dtop)); 139 static_cast<T>((1 - x_lerp) * dbottom)); 145 static_cast<T>(x_lerp * dbottom)); 176 const float x_lerp = in_x - left_x_index; local 195 const float top = top_left + (top_right - top_left) * x_lerp; 228 const float x_lerp = original_x - left_x_index; local [all...] |
crop_and_resize_op.cc | 268 const float x_lerp = in_x - left_x_index; 279 const float top = top_left + (top_right - top_left) * x_lerp; 281 bottom_left + (bottom_right - bottom_left) * x_lerp; 484 const float x_lerp = in_x - left_x_index; local 489 static_cast<T>((1 - x_lerp) * dtop); 491 static_cast<T>(x_lerp * dtop); 494 static_cast<T>((1 - x_lerp) * dbottom); 496 static_cast<T>(x_lerp * dbottom); 664 const float x_lerp = in_x - left_x_index; local 676 float image_grad_y = (1 - x_lerp) * (bottom_left - top_left) [all...] |
resize_bilinear_op.cc | 104 const float x_lerp, const float y_lerp) { 105 const float top = top_left + (top_right - top_left) * x_lerp; 106 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; 336 const float x_lerp = in_x - floorf(in_x); local 337 const float inverse_x_lerp = (1.0f - x_lerp); 342 T(input_grad(b, y, x, c) * inverse_y_lerp * x_lerp); 346 T(input_grad(b, y, x, c) * y_lerp * x_lerp);
|
conv_ops_fused_image_transform.cc | 151 EIGEN_ALWAYS_INLINE T1 BilinearSample(int channel, T1 x_lerp, 154 top_left[channel] + (top_right[channel] - top_left[channel]) * x_lerp; 156 (bottom_right[channel] - bottom_left[channel]) * x_lerp; 215 x_lerp(other.x_lerp) {} 220 T1 x_lerp; member in struct:tensorflow::__anon45223::PerCachePixelParameters 248 // This x_lerp is used to blend pixels in bilinear filtering. 249 result.x_lerp = static_cast<T1>(in_x - result.left_x_index); 531 pixel_params.x_lerp, [all...] |
/external/tensorflow/tensorflow/contrib/pi_examples/camera/ |
camera.cc | 377 const float x_lerp = in_x - left_x_index; local 386 const float top = top_left + (top_right - top_left) * x_lerp; 388 bottom_left + (bottom_right - bottom_left) * x_lerp;
|
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/ |
label_image.cc | 188 const float x_lerp = in_x - left_x_index; local 197 const float top = top_left + (top_right - top_left) * x_lerp; 199 bottom_left + (bottom_right - bottom_left) * x_lerp;
|