code: def test_interpolate_small_grid_xy():
      grid = tf.constant(
          [
              [0.0, 1.0, 2.0],
              [3.0, 4.0, 5.0],
              [6.0, 7.0, 8.0],
              [9.0, 10.0, 11.0],
          ],
          shape=[1, 4, 3, 1],
      )
      query_points = tf.constant(
          [[0.0, 0.0], [0.0, 1.0], [0.5, 2.0], [1.5, 1.5], [2.0, 3.0]],
          shape=[1, 5, 2],
      )
      expected_results = np.reshape(
          np.array([0.0, 3.0, 6.5, 6.0, 11.0]), [1, 5, 1]
      )
  
      interp = interpolate_bilinear(grid, query_points, indexing="xy")
  
      np.testing.assert_allclose(expected_results, interp)
  
file_path: addons/tensorflow_addons/image/tests/dense_image_warp_test.py
imports: import pytest
  import math
  import numpy
  import tensorflow
  from tensorflow_addons.image import dense_image_warp
  from tensorflow_addons.image import interpolate_bilinear
label_desc: Use image node_id 2 for calling a global function with example usage: test_interpolate_small_grid_xy() without return types