Home
last modified time | relevance | path

Searched refs:left_x_index (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Dresize_bilinear_op_gpu.cu.cc60 const int left_x_index = in_x > 0.0 ? floorf(in_x) : 0; in ResizeBilinearKernel_faster() local
63 const float x_lerp = in_x - left_x_index; in ResizeBilinearKernel_faster()
76 left_x_index) * in ResizeBilinearKernel_faster()
88 left_x_index) * in ResizeBilinearKernel_faster()
139 const int left_x_index = in_x > 0.0 ? floorf(in_x) : 0; in ResizeBilinearKernel() local
142 const float x_lerp = in_x - left_x_index; in ResizeBilinearKernel()
145 images[((b * in_height + top_y_index) * in_width + left_x_index) * in ResizeBilinearKernel()
153 images[((b * in_height + bottom_y_index) * in_width + left_x_index) * in ResizeBilinearKernel()
196 const int left_x_index = original_x > 0.0 ? floorf(original_x) : 0; in ResizeBilinearGradKernel() local
205 left_x_index) * in ResizeBilinearGradKernel()
[all …]
Dcrop_and_resize_op_gpu.cu.cc93 const int left_x_index = floorf(in_x); in CropAndResizeKernel() local
95 const float x_lerp = in_x - left_x_index; in CropAndResizeKernel()
99 left_x_index) * in CropAndResizeKernel()
109 left_x_index) * in CropAndResizeKernel()
184 const int left_x_index = floorf(in_x); in CropAndResizeBackpropImageKernel() local
186 const float x_lerp = in_x - left_x_index; in CropAndResizeBackpropImageKernel()
191 left_x_index) * in CropAndResizeBackpropImageKernel()
205 left_x_index) * in CropAndResizeBackpropImageKernel()
285 const int left_x_index = floorf(in_x); in CropAndResizeBackpropBoxesKernel() local
287 const float x_lerp = in_x - left_x_index; in CropAndResizeBackpropBoxesKernel()
[all …]
Dcrop_and_resize_op.cc284 const int left_x_index = floorf(in_x); in operator ()() local
286 const float x_lerp = in_x - left_x_index; in operator ()()
290 image(b_in, top_y_index, left_x_index, d))); in operator ()()
294 image(b_in, bottom_y_index, left_x_index, d))); in operator ()()
503 const int left_x_index = floorf(in_x); in operator ()() local
505 const float x_lerp = in_x - left_x_index; in operator ()()
509 grads_image(b_in, top_y_index, left_x_index, d) += in operator ()()
514 grads_image(b_in, bottom_y_index, left_x_index, d) += in operator ()()
704 const int left_x_index = floorf(in_x); in operator ()() local
706 const float x_lerp = in_x - left_x_index; in operator ()()
[all …]
Dresize_bilinear_op.cc306 const Eigen::Index left_x_index = in ResizeGradCore() local
315 output_grad(b, top_y_index, left_x_index, c) += in ResizeGradCore()
319 output_grad(b, bottom_y_index, left_x_index, c) += in ResizeGradCore()
Dresize_bilinear_op_test.cc113 const int64 left_x_index = in ResizeBilinearBaseline() local
119 const float top_left = images(b, top_y_index, left_x_index, c); in ResizeBilinearBaseline()
122 images(b, bottom_y_index, left_x_index, c); in ResizeBilinearBaseline()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_fused_image_transform.cc214 left_x_index(other.left_x_index), in PerCachePixelParameters()
219 int64 left_x_index; member
246 result.left_x_index = static_cast<int64>(std::floor(in_x)); in CalculatePerCachePixelParameters()
250 result.x_lerp = static_cast<T1>(in_x - result.left_x_index); in CalculatePerCachePixelParameters()
507 (pixel_params.left_x_index * in operator ()()
516 (pixel_params.left_x_index * in operator ()()
522 (pixel_params.left_x_index * in operator ()()