Searched refs:image_grad_y (Results 1 – 2 of 2) sorted by relevance
311 float image_grad_y = (1 - x_lerp) * (bottom_left - top_left) + in CropAndResizeBackpropBoxesKernel() local317 image_grad_y *= top_grad; in CropAndResizeBackpropBoxesKernel()322 dy1 = image_grad_y * (image_height - 1 - y * height_ratio); in CropAndResizeBackpropBoxesKernel()323 dy2 = image_grad_y * (y * height_ratio); in CropAndResizeBackpropBoxesKernel()325 dy1 = image_grad_y * 0.5 * (image_height - 1); in CropAndResizeBackpropBoxesKernel()326 dy2 = image_grad_y * 0.5 * (image_height - 1); in CropAndResizeBackpropBoxesKernel()
718 float image_grad_y = (1 - x_lerp) * (bottom_left - top_left) + in operator ()() local724 image_grad_y *= top_grad; in operator ()()729 image_grad_y * (image_height - 1 - y * height_ratio); in operator ()()730 grads_boxes(b, 2) += image_grad_y * (y * height_ratio); in operator ()()732 grads_boxes(b, 0) += image_grad_y * 0.5 * (image_height - 1); in operator ()()733 grads_boxes(b, 2) += image_grad_y * 0.5 * (image_height - 1); in operator ()()