HomeSort by relevance Sort by last modified time
    Searched refs:x_lerp (Results 1 - 12 of 12) sorted by null

  /external/tensorflow/tensorflow/core/kernels/
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_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...]
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);
quantized_resize_bilinear_op_test.cc 83 const float x_lerp, const float y_lerp, const float min,
89 const float top = top_left + (top_right - top_left) * x_lerp;
90 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp;
100 const float x_lerp, const float y_lerp,
102 const float top = in_top_left + (in_top_right - in_top_left) * x_lerp;
104 in_bottom_left + (in_bottom_right - in_bottom_left) * x_lerp;
quantization_utils_test.cc     [all...]
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...]
quantized_resize_bilinear_op.cc 103 const float x_lerp, const float y_lerp,
109 const float top = top_left + (top_right - top_left) * x_lerp;
110 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp;
123 const T bottom_right, const T_SCALE x_lerp,
127 MulOffset<T, T_SCALE, T_CALC>(top_right, top_left, x_lerp);
130 MulOffset<T, T_SCALE, T_CALC>(bottom_right, bottom_left, x_lerp);
182 const int32* x_lerp, const int32x2_t y_lerpsx) {
184 X_LERP_SAME ? vld1_dup_s32(reinterpret_cast<const int32*>(x_lerp))
185 : vld1_s32(reinterpret_cast<const int32*>(x_lerp));
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;
quantization_utils.h 474 const int32x2_t x_lerp,
486 vmlal_s32(top_left_x_res, top_right_sub_top_left, x_lerp);
490 vmlal_s32(bottom_left_x_res, bottom_right_sub_bottom_left, x_lerp);
510 const int16x8_t x_lerp,
524 vmlaq_s16(top_left_x_res, top_right_sub_top_left, x_lerp);
529 vmlaq_s16(bottom_left_x_res, bottom_right_sub_bottom_left, x_lerp);
    [all...]
  /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;
  /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;

Completed in 783 milliseconds