pub struct MaterializedRealtimeInput<T> { /* private fields */ }Expand description
Opaque input tensors paired with the neutral forcing and diagnostic policy.
Implementations§
Source§impl<T> MaterializedRealtimeInput<T>
impl<T> MaterializedRealtimeInput<T>
Sourcepub const fn schedule(&self) -> &RealtimeSpeechConfig
pub const fn schedule(&self) -> &RealtimeSpeechConfig
Returns the exact schedule under which host validation completed.
Sourcepub const fn input_audio(&self) -> &T
pub const fn input_audio(&self) -> &T
Returns input-side audio tokens in batch-by-input-codebook shape.
Sourcepub const fn forced_audio(&self) -> Option<&T>
pub const fn forced_audio(&self) -> Option<&T>
Returns optional forced generated-audio tokens.
Sourcepub const fn forced_text(&self) -> Option<&T>
pub const fn forced_text(&self) -> Option<&T>
Returns optional forced text tokens.
Sourcepub const fn forcing(&self) -> &RealtimeFrameForcing
pub const fn forcing(&self) -> &RealtimeFrameForcing
Returns the neutral forcing mask.
Sourcepub const fn retains_diagnostics(&self) -> bool
pub const fn retains_diagnostics(&self) -> bool
Returns whether ordered logits diagnostics were requested.
Sourcepub fn into_parts(
self,
) -> (RealtimeSpeechConfig, usize, T, Option<T>, Option<T>, RealtimeFrameForcing, bool)
pub fn into_parts( self, ) -> (RealtimeSpeechConfig, usize, T, Option<T>, Option<T>, RealtimeFrameForcing, bool)
Consumes opaque tensors and neutral policy.
Auto Trait Implementations§
impl<T> Freeze for MaterializedRealtimeInput<T>
impl<T> RefUnwindSafe for MaterializedRealtimeInput<T>
impl<T> Send for MaterializedRealtimeInput<T>
impl<T> Sync for MaterializedRealtimeInput<T>
impl<T> Unpin for MaterializedRealtimeInput<T>
impl<T> UnsafeUnpin for MaterializedRealtimeInput<T>
impl<T> UnwindSafe for MaterializedRealtimeInput<T>
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