class_docstr: AudioIOTensor
code: def __init__(self, filename, dtype=None):
      with tf.name_scope("AudioIOTensor"):
          if not tf.executing_eagerly():
              assert (
                  dtype is not None
              ), "dtype must be provided in graph mode"
          resource = core_ops.io_audio_readable_init(filename)
          if tf.executing_eagerly():
              shape, dtype, rate = core_ops.io_audio_readable_spec(
                  resource
              )
              dtype = tf.as_dtype(dtype.numpy())
          else:
              shape, _, rate = core_ops.io_audio_readable_spec(resource)
          self._resource = resource
          self._shape = shape
          self._dtype = dtype
          self._rate = rate
          super().__init__()
  
imports: import sys
  import tensorflow
  from tensorflow_io.python.ops import core_ops
label_desc: Use image node_id 1 to create a new AudioIOTensor object  with example: obj = AudioIOTensor(filename, dtype)