Google I/O is a wrap! Catch up on TensorFlow sessions View sessions


Computes the gradient of bilinear interpolation.

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).

A Tensor. Has the same type as original_image.