code: def test_color_twist():
      for inp_dtype in [types.FLOAT, types.INT16, types.UINT8]:
          for out_dtype in [types.FLOAT, types.INT16, types.UINT8]:
              has_3_dims = random.choice([False, True])
              yield check_ref, inp_dtype, out_dtype, has_3_dims
  
file_path: DALI/dali/test/python/operator_1/test_color_twist.py
imports: import math
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  import random
  from nvidia.dali import pipeline_def
  from sequences_test_utils import ArgCb, video_suite_helper
  from test_utils import RandomDataIterator
label_desc: Use image node_id 7 for calling a global function with example usage: test_color_twist() without return types