code: def solarize_add(image, addition=0, threshold=128):
      # For each pixel in the image less than threshold
      # we add 'addition' amount to it and then clip the
      # pixel value to be between 0 and 255. The value
      # of 'addition' is between -128 and 128.
      added_image = tf.cast(image, tf.int64) + addition
      added_image = tf.cast(
          tf.clip_by_value(added_image, 0, 255), tf.uint8
      )
      return tf.where(image < threshold, added_image, image)
  
imports: import dataclasses
  import inspect
  import math
  import tensorflow.compat.v1
  from tensorflow_addons import image
label_desc: Use image node_id 6 for calling a global function with example usage: solarize_add(image, addition, threshold) and returns: tf