code: def test_adjust_random_saturation_in_yiq(shape, style, dtype):
      x_np = (np.random.rand(*shape) * 255.0).astype(dtype)
      scale = np.random.rand() * 2.0 - 1.0
      if style == "all_random":
          pass
      elif style == "rg_same":
          x_np[..., 1] = x_np[..., 0]
      elif style == "rb_same":
          x_np[..., 2] = x_np[..., 0]
      elif style == "gb_same":
          x_np[..., 2] = x_np[..., 1]
      elif style == "rgb_same":
          x_np[..., 1] = x_np[..., 0]
          x_np[..., 2] = x_np[..., 0]
      else:
          raise AssertionError("Invalid test style: %s" % (style))
      y_baseline = _adjust_saturation_in_yiq_np(x_np, scale)
      y_tf = _adjust_saturation_in_yiq_tf(x_np, scale)
      test_utils.assert_allclose_according_to_type(
          y_tf, y_baseline, atol=1e-4, rtol=2e-4, half_rtol=0.8
      )
  
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 15 for calling a global function with example usage: test_adjust_random_saturation_in_yiq(shape, style, dtype) without return types