tensorflow::ops::CropAndResizeGradBoxes
tensorflow::ops::CropAndResizeGradBoxes
#include <image_ops.h>
Computes the gradient of the crop_and_resize op wrt the input boxes tensor.
Summary
Arguments:
- scope: A Scope object
- grads: A 4-D tensor of shape
[num_boxes, crop_height, crop_width, depth]
. - image: A 4-D tensor of shape
[batch, image_height, image_width, depth]
. Bothimage_height
andimage_width
need to be positive. - boxes: A 2-D tensor of shape
[num_boxes, 4]
. Thei
-th row of the tensor specifies the coordinates of a box in thebox_ind[i]
image and is specified in normalized coordinates[y1, x1, y2, x2]
. A normalized coordinate value ofy
is mapped to the image coordinate aty * (image_height - 1)
,