code: def _do_transform(args):
      sample_id, inpath, outpath = args[:3]
      did_transform = _transform_image(inpath, outpath, *args[3:])
      return sample_id, inpath, outpath, did_transform
  
imports: import logging
  import os
  import eta.core.image
  import eta.core.utils
  import fiftyone.core.storage
  import fiftyone.core.utils
  import fiftyone.core.validation
label_desc: Use image node_id 10 for calling a global function with example usage: _do_transform(args) and returns: sample_id,  inpath,  outpath,  did_transform