class_docstr: A wrapper that we can carry around in an iterator and pass to a child process in order to
  have the child process do the loading/unpacking of the sample, allowing for parallel file
  I/O.
class_docstr_tok: ["A","wrapper","that","we","can","carry","around","in","an","iterator","and","pass","to","a","child","process","in","order","to","have","the","child","process","do","the","loading\/unpacking","of","the","sample",",","allowing","for","parallel","file","I\/O","."]
code: def unpack(self):
      with open_remote(self.filename, "rb") as audio_file:
          data = audio_file.read()
      if self.label is None:
          s = Sample(self.audio_type, data, sample_id=self.filename)
      s = LabeledSample(
          self.audio_type, data, self.label, sample_id=self.filename
      )
      return s
  
imports: import os
  import io
  import csv
  import json
  import tarfile
  from pathlib import Path
  from functools import partial
  from .helpers import KILOBYTE, MEGABYTE, GIGABYTE, Interleaved, LenMap
  from .audio import Sample, AUDIO_TYPE_PCM, AUDIO_TYPE_OPUS, SERIALIZABLE_AUDIO_TYPES, get_loadable_audio_type_from_extension, write_wav
  from .io import open_remote, is_remote_path
label_desc: Use image node_id 2 for calling the PackedSample obj's underlying member method code with example usage: obj.unpack() and returns: s