code: def solarize(data, threshold):
      sample_inv = types.Constant(255, dtype=types.UINT8) - data
      mask_unchanged = data < threshold
      mask_inverted = mask_unchanged ^ True
      return mask_unchanged * data + mask_inverted * sample_inv
  
imports: from nvidia.dali import fn
  from nvidia.dali import types
  from nvidia.dali.auto_aug.core import augmentation
label_desc: Use image node_id 19 for calling a global function with example usage: solarize(data, threshold) and returns: unknown