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 more