pub struct GeneratedFrame {
pub semantic_idx: usize,
pub acoustic_levels: [usize; 36],
}Expand description
A single generated audio frame from autoregressive decoding.
Fields§
§semantic_idx: usizeSemantic VQ index (raw, 0..8191 — without the +2 offset).
acoustic_levels: [usize; 36]Acoustic FSQ level indices per codebook (36 values, each in 0..20).
Trait Implementations§
Source§impl Clone for GeneratedFrame
impl Clone for GeneratedFrame
Auto Trait Implementations§
impl Freeze for GeneratedFrame
impl RefUnwindSafe for GeneratedFrame
impl Send for GeneratedFrame
impl Sync for GeneratedFrame
impl Unpin for GeneratedFrame
impl UnsafeUnpin for GeneratedFrame
impl UnwindSafe for GeneratedFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more