/TensorFlow 2.4


Computes the gradient of bicubic 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, 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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.