View source on GitHub |
Decode WAV audio from input string.
tfio.audio.decode_wav(
input, shape=None, dtype=None, name=None
)
Args | |
---|---|
input
|
A string Tensor of the audio input.
|
shape
|
The shape of the audio. |
dtype
|
The data type of the audio, only tf.uint8, tf.int16, tf.int32 and tf.float32 are supported. |
name
|
A name for the operation (optional). |
Returns | |
---|---|
output
|
Decoded audio. |