Computes the gradient of bilinear interpolation.
View aliases
Compat aliases for migration
See Migration guide for more details.
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, .
|
original_
|
A Tensor . Must be one of the following types: float32 , bfloat16 , half , float64 .
4-D with shape [batch, ,
The image tensor that was resized.
|
align_
|
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_
|
An optional bool . Defaults to False .
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor . Has the same type as original_ .
|