View source on GitHub |
Encode Ogg(Vorbis) audio into string.
tfio.audio.encode_vorbis(
input, rate, name=None
)
Args | |
---|---|
input
|
A Tensor of the audio input.
|
rate
|
The sample rate of the audio. |
name
|
A name for the operation (optional). |
Returns | |
---|---|
output
|
Encoded audio. |