code: def _load_audio(
      s: "torchaudio.io.StreamReader",
      filter: Optional[str] = None,
      channels_first: bool = True,
  ) -> torch.Tensor:
      s.add_audio_stream(-1, -1, filter_desc=filter)
      s.process_all_packets()
      chunk = s.pop_chunks()[0]
      if chunk is None:
          raise RuntimeError("Failed to decode audio.")
      waveform = chunk._elem
      return waveform.T if channels_first else waveform
  
imports: import os
  import re
  import sys
  from typing import BinaryIO, Optional, Tuple, Union
  import torch
  import torchaudio
  from .backend import Backend
  from .common import AudioMetaData
label_desc: Use image node_id 3 for calling a global function with example usage: _load_audio(s, filter, channels_first) and returns: unknown