code: def transform(data, ops=None):
      """transform"""
      if ops is None:
          ops = []
      for op in ops:
          data = op(data)
          if data is None:
              return None
      return data
  
imports: import numpy
  import paddle
  import os
  import cv2
  import glob
label_desc: Use image node_id 1 for calling a global function with example usage: transform(data, ops) and returns: data, None