code: def equalize(data, _):
      """
      DALI's equalize follows OpenCV's histogram equalization.
      The PIL uses slightly different formula when transforming histogram's
      cumulative sum into lookup table.
      """
      return fn.experimental.equalize(data)
  
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 23 for calling a global function with example usage: equalize(data, _) and returns: fn