code: def nemo_pipe(
      nemo_op, path, read_text, read_sample_rate, dtype, downmix
  ):
      if read_sample_rate:
          audio, sr = nemo_op(
              manifest_filepaths=path,
              read_sample_rate=read_sample_rate,
              read_text=read_text,
              dtype=dtype,
              downmix=downmix,
          )
          return audio, sr
      elif read_text:
          audio, text = nemo_op(
              manifest_filepaths=path,
              read_sample_rate=read_sample_rate,
              read_text=read_text,
              dtype=dtype,
              downmix=downmix,
          )
          return audio, text
      else:
          audio = nemo_op(
              manifest_filepaths=path,
              read_sample_rate=read_sample_rate,
              read_text=read_text,
              dtype=dtype,
              downmix=downmix,
          )
          return audio
  
imports: from nvidia.dali import Pipeline, pipeline_def
  from nvidia.dali import fn
  import nvidia.dali.types
  import scipy.io.wavfile
  import numpy
  import json
  import tempfile
  import os
  from test_audio_decoder_utils import generate_waveforms
  from test_utils import compare_pipelines
label_desc: Use image node_id 5 for calling a global function with example usage: nemo_pipe(nemo_op, path, read_text, read_sample_rate, dtype, downmix) and returns: audio,  sr, audio,  text, audio