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§
source§impl Clone for GeneratedIndicesOutput
impl Clone for GeneratedIndicesOutput
source§fn clone(&self) -> GeneratedIndicesOutput
fn clone(&self) -> GeneratedIndicesOutput
Returns a copy 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 RefUnwindSafe for GeneratedIndicesOutput
impl Send for GeneratedIndicesOutput
impl Sync for GeneratedIndicesOutput
impl Unpin for GeneratedIndicesOutput
impl UnwindSafe for GeneratedIndicesOutput
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