Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op_gpu.cu.cc313 float image_grad_x = (1 - y_lerp) * (top_right - top_left) + in CropAndResizeBackpropBoxesKernel() local
318 image_grad_x *= top_grad; in CropAndResizeBackpropBoxesKernel()
331 dx1 = image_grad_x * (image_width - 1 - x * width_ratio); in CropAndResizeBackpropBoxesKernel()
332 dx2 = image_grad_x * (x * width_ratio); in CropAndResizeBackpropBoxesKernel()
334 dx1 = image_grad_x * 0.5 * (image_width - 1); in CropAndResizeBackpropBoxesKernel()
335 dx2 = image_grad_x * 0.5 * (image_width - 1); in CropAndResizeBackpropBoxesKernel()
Dcrop_and_resize_op.cc720 float image_grad_x = (1 - y_lerp) * (top_right - top_left) + in operator ()() local
725 image_grad_x *= top_grad; in operator ()()
738 image_grad_x * (image_width - 1 - x * width_ratio); in operator ()()
739 grads_boxes(b, 3) += image_grad_x * (x * width_ratio); in operator ()()
741 grads_boxes(b, 1) += image_grad_x * 0.5 * (image_width - 1); in operator ()()
742 grads_boxes(b, 3) += image_grad_x * 0.5 * (image_width - 1); in operator ()()