class_docstr: emotion task test
class_docstr_tok: ["emotion","task","test"]
docstr: test generate data
docstr_tok: ["test","generate","data"]
code: def test_generate_data(self):
      """test generate data"""
      self.config["data"]["task"]["suffix"] = ".wav"
      task = self.task_class(self.config, utils.TRAIN)
  
      for (
          inputs,
          texts,
          label,
          filename,
          clip_id,
          soft_labels,
      ) in task.generate_data():
          if (
              self.config["data"]["task"]["classes"]["positive"]
              in filename
          ):
              logging.info(
                  "feat shape:{} \ntext: {} \nlabels:{} \nfilename:{} \nclip_id:{}\nsoft_labels:{}".format(
                      inputs.shape,
                      texts,
                      label,
                      filename,
                      clip_id,
                      soft_labels,
                  )
              )
              break
  
file_path: delta/delta/data/task/speech_cls_task_test.py
imports: import os
  import shutil
  import tempfile
  from pathlib import Path
  import numpy
  import delta.compat
  from absl import logging
  from delta import utils
  from delta.utils.register import registers
  from delta.utils.register import import_all_modules_for_register
  from delta import PACKAGE_ROOT_DIR
label_desc: Use image node_id 5 for calling the SpeechClsTaskTest obj's underlying member method code with example usage: obj.test_generate_data() without return types