Warning: This project is deprecated. TensorFlow Addons has stopped development, The project will only be providing minimal maintenance releases until May 2024. See the full announcement here or on github.


Similar to Matlab's interp2 function.

Finds values for query points on a grid using bilinear interpolation.

grid a 4-D float Tensor of shape [batch, height, width, channels].
query_points a 3-D float Tensor of N points with shape [batch, N, 2].
indexing whether the query points are specified as row and column (ij), or Cartesian coordinates (xy).
name a name for the operation (optional).

values a 3-D Tensor with shape [batch, N, channels]

ValueError if the indexing mode is invalid, or if the shape of the inputs invalid.