I\'m trying to pull some audio files into Tensorflow by using tf.audio.decode_wav.
tf.audio.decode_wav
I can see someone is looking into providing more info in the docs, bu
You're right, tf.audio.decode_wav() requires a tensor. You can provide one with tf.io.read_file() which reads wav file into tensor of type string.
tf.audio.decode_wav()
tf.io.read_file()
raw_audio = tf.io.read_file(filename) waveform = tf.audio.decode_wav(raw_audio)