code: def test_unknown_shape():
      query_points = tf.constant(
          [[0.0, 0.0], [0.0, 1.0], [0.5, 2.0], [1.5, 1.5]],
          shape=[1, 4, 2],
      )
      fn = interpolate_bilinear.get_concrete_function(
          tf.TensorSpec(shape=None, dtype=tf.float32),
          tf.TensorSpec(shape=None, dtype=tf.float32),
      )
      for shape in (2, 4, 3, 6), (6, 2, 4, 3), (1, 2, 4, 3):
          image = tf.ones(shape=shape)
          res = fn(image, query_points)
          assert res.shape == (shape[0], 4, shape[3])
  
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 4 for calling a global function with example usage: test_unknown_shape() without return types