class_docstr: Encoder class for saving and loading waveforms.
class_docstr_tok: ["Encoder","class","for","saving","and","loading","waveforms","."]
code: def __init__(self, num_reserved_ids=0, sample_rate=16000):
      assert num_reserved_ids == 0
      self._sample_rate = sample_rate
  
file_path: tensor2tensor/tensor2tensor/data_generators/audio_encoder.py
imports: import os
  from subprocess import call
  import tempfile
  import numpy
  from scipy.io import wavfile
label_desc: Use image node_id 1 to create a new AudioEncoder object from inherited base classes: object with example: obj = AudioEncoder(num_reserved_ids, sample_rate)