Skip to main content

unpatchify_audio

Function unpatchify_audio 

Source
pub fn unpatchify_audio(tokens: &[f32], frames: usize) -> Vec<f32>
Expand description

Patchified audio tokens [T, 128] back to [8, T, 16] (channels, time, mel bins) — the layout the audio VAE decodes.