class_docstr: GraphIOTensor is compatible in graph mode
class_docstr_tok: ["GraphIOTensor","is","compatible","in","graph","mode"]
docstr: Creates an `IOTensor` from an audio file.
  
  The following audio file formats are supported:
  - WAV
  - Flac
  - Vorbis
  - MP3
  
  Args:
    filename: A string, the filename of an audio file.
    dtype: Data type of the audio file.
    name: A name prefix for the IOTensor (optional).
  
  Returns:
    A `IOTensor`.
docstr_tok: ["Creates","an","`","IOTensor","`","from","an","audio","file",".","The","following","audio","file","formats","are","supported",":","-","WAV","-","Flac","-","Vorbis","-","MP3","Args",":","filename",":","A","string",",","the","filename","of","an","audio","file",".","dtype",":","Data","type","of","the","audio","file",".","name",":","A","name","prefix","for","the","IOTensor","(","optional",")",".","Returns",":","A","`","IOTensor","`","."]
code: def from_audio(cls, filename, **kwargs):
      """Creates an `IOTensor` from an audio file.
  
      The following audio file formats are supported:
      - WAV
      - Flac
      - Vorbis
      - MP3
  
      Args:
        filename: A string, the filename of an audio file.
        dtype: Data type of the audio file.
        name: A name prefix for the IOTensor (optional).
  
      Returns:
        A `IOTensor`.
  
      """
      with tf.name_scope(kwargs.get("name", "IOFromAudio")):
          return audio_ops.AudioIOTensor(filename, dtype=cls._dtype)
  
imports: import tensorflow
  from tensorflow_io.python.ops import audio_ops
  from tensorflow_io.python.ops import io_tensor_ops
  from tensorflow_io.python.ops import json_io_tensor_ops
  from tensorflow_io.python.ops import hdf5_io_tensor_ops
  from tensorflow_io.python.ops import kafka_io_tensor_ops
  from tensorflow_io.python.ops import lmdb_io_tensor_ops
  from tensorflow_io.python.ops import feather_io_tensor_ops
  from tensorflow_io.python.ops import csv_io_tensor_ops
  from tensorflow_io.python.ops import avro_io_tensor_ops
  from tensorflow_io.python.ops import ffmpeg_io_tensor_ops
  from tensorflow_io.python.ops import parquet_io_tensor_ops
  from tensorflow_io.python.ops import tiff_io_tensor_ops
  from tensorflow_io.python.ops import arrow_io_tensor_ops
label_desc: Use image node_id 1 for calling the GraphIOTensor obj's underlying member method code with example usage: obj.from_audio(cls, filename) and returns: audio_ops