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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]