tf.raw_ops.ResizeBilinearGrad

Computes the gradient of bilinear interpolation.

tf.raw_ops.ResizeBilinearGrad(
    grads, original_image, align_corners=False, half_pixel_centers=False, name=None
)

Args:

  • grads: A Tensor of type float32. 4-D with shape [batch, height, width, channels].
  • original_image: A Tensor. Must be one of the following types: float32, bfloat16, half, float64. 4-D with shape [batch, orig_height, orig_width, channels], The image tensor that was resized.
  • align_corners: An optional bool. Defaults to False. If true, the centers of the 4 corner pixels of the input and grad tensors are aligned. Defaults to false.
  • half_pixel_centers: An optional bool. Defaults to False.
  • name: A name for the operation (optional).

Returns:

A Tensor. Has the same type as original_image.