pub struct GeneratedIndicesOutput {
pub indices: Vec<i64>,
pub score: Option<f64>,
pub token_scores: Option<Vec<f64>>,
}Expand description
Generated indices output
Contains generated indices and an optional log-likelihood score for the generated sequence and individual tokens
Fields
indices: Vec<i64>score: Option<f64>token_scores: Option<Vec<f64>>Trait Implementations
sourceimpl Clone for GeneratedIndicesOutput
impl Clone for GeneratedIndicesOutput
sourcefn clone(&self) -> GeneratedIndicesOutput
fn clone(&self) -> GeneratedIndicesOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for GeneratedIndicesOutput
impl Send for GeneratedIndicesOutput
impl Sync for GeneratedIndicesOutput
impl Unpin for GeneratedIndicesOutput
impl UnwindSafe for GeneratedIndicesOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more