code: def test_adjust_hsv_in_yiq_unknown_shape():
      fn = tf.function(
          distort_image_ops.adjust_hsv_in_yiq
      ).get_concrete_function(
          tf.TensorSpec(shape=None, dtype=tf.float32)
      )
      for shape in (2, 3, 3), (4, 2, 3, 3):
          image_np = np.random.rand(*shape) * 255.0
          image_tf = tf.constant(image_np, dtype=tf.float32)
          np.testing.assert_allclose(
              _adjust_hue_in_yiq_np(image_np, 0),
              fn(image_tf),
              rtol=2e-4,
              atol=1e-4,
          )
  
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.image import distort_image_ops
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_adjust_hsv_in_yiq_unknown_shape() without return types