code: def dali_run(pipe, device):
      pipe.build()
      outs = pipe.run()
      return to_array(outs[0])[0]
  
imports: import nose_utils
  import nvidia.dali.fn
  from nvidia.dali import pipeline_def
  import nvidia.dali.types
  from test_utils import get_files, to_array
  import numpy
  import librosa
  import torch
  import math
  import random
  import os
  from nose.tools import nottest
label_desc: Use image node_id 3 for calling a global function with example usage: dali_run(pipe, device) and returns: to_array