code: def __init__(self, out_dict):
      self._has_processed_signal = (
          "processed_signal" in out_dict
          and "processed_signal_len" in out_dict
      )
      if not self._has_processed_signal:
          assert "audio" in out_dict and "audio_len" in out_dict
      assert "transcript" in out_dict and "transcript_len" in out_dict
      if self._has_processed_signal:
          self._outs = (
              out_dict["processed_signal"],
              out_dict["processed_signal_len"].reshape(-1),
              out_dict["transcript"],
              out_dict["transcript_len"].reshape(-1),
          )
      else:
          self._outs = (
              out_dict["audio"],
              out_dict["audio_len"].reshape(-1),
              out_dict["transcript"],
              out_dict["transcript_len"].reshape(-1),
          )
  
imports: import math
  import operator
  import os.path
  import time
  from collections.abc import Iterator
  from typing import Callable, List, Optional, Union
  import torch
  from omegaconf import DictConfig
  from nemo.collections.asr.data.audio_to_text import ASRManifestProcessor, expand_sharded_filepaths
  from nemo.collections.common.parts.preprocessing import parsers
  from nemo.utils import logging, model_utils
label_desc: Use image node_id 1 to create a new DALIOutputs object from inherited base classes: object with example: obj = DALIOutputs(out_dict)