pub struct NemotronEncoderCache {
pub cache_last_channel: Array4<f32>,
pub cache_last_time: Array4<f32>,
pub cache_last_channel_len: Array1<i64>,
}Expand description
Encoder cache state for Nemotron streaming inference.
Fields§
§cache_last_channel: Array4<f32>[24, 1, 70, 1024] - 24 layers, batch=1, 70 frame lookback, 1024 features
cache_last_time: Array4<f32>[24, 1, 1024, 8] - 24 layers, batch=1, 1024 features, 8 conv context
cache_last_channel_len: Array1<i64>[1] - current cache length
Implementations§
Trait Implementations§
Source§impl Clone for NemotronEncoderCache
impl Clone for NemotronEncoderCache
Source§fn clone(&self) -> NemotronEncoderCache
fn clone(&self) -> NemotronEncoderCache
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NemotronEncoderCache
impl RefUnwindSafe for NemotronEncoderCache
impl Send for NemotronEncoderCache
impl Sync for NemotronEncoderCache
impl Unpin for NemotronEncoderCache
impl UnwindSafe for NemotronEncoderCache
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more