pub struct TimeEmbedding { /* private fields */ }Expand description
Time embedding module that produces sinusoidal embeddings.
Used to encode the transcription delay as a conditioning signal for the ADA RMSNorm modulation in the decoder layers.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeEmbedding
impl RefUnwindSafe for TimeEmbedding
impl Send for TimeEmbedding
impl Sync for TimeEmbedding
impl Unpin for TimeEmbedding
impl UnsafeUnpin for TimeEmbedding
impl UnwindSafe for TimeEmbedding
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