pub struct InferenceOutput {
pub output_token_ids: Vec<u32>,
pub layout: ScreenLayout,
pub mean_distance_relevance_alpha_d: f32,
}Expand description
Output from token inference.
Fields§
§output_token_ids: Vec<u32>§layout: ScreenLayout§mean_distance_relevance_alpha_d: f32Trait Implementations§
Source§impl Clone for InferenceOutput
impl Clone for InferenceOutput
Source§fn clone(&self) -> InferenceOutput
fn clone(&self) -> InferenceOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InferenceOutput
impl Debug for InferenceOutput
Source§impl PartialEq for InferenceOutput
impl PartialEq for InferenceOutput
Source§fn eq(&self, other: &InferenceOutput) -> bool
fn eq(&self, other: &InferenceOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InferenceOutput
Auto Trait Implementations§
impl Freeze for InferenceOutput
impl RefUnwindSafe for InferenceOutput
impl Send for InferenceOutput
impl Sync for InferenceOutput
impl Unpin for InferenceOutput
impl UnsafeUnpin for InferenceOutput
impl UnwindSafe for InferenceOutput
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