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]. Both image_height and image_width need to be positive.
  • boxes: A 2-D tensor of shape [num_boxes, 4]. The i-th row of the tensor specifies the coordinates of a box in the box_ind[i] image and is specified in normalized coordinates [y1, x1, y2, x2]. A normalized coordinate value of y is mapped to the image coordinate at y * (image_height - 1),