Struct rust_bert::pipelines::generation_utils::LMModelOutput [−][src]
Expand description
Container holding a language model output for generation tasks
Fields
lm_logits: TensorLogits for each vocab item and position
cache: Cachecached state for improved efficiency during decoding
Auto Trait Implementations
impl RefUnwindSafe for LMModelOutput
impl Send for LMModelOutput
impl !Sync for LMModelOutput
impl Unpin for LMModelOutput
impl UnwindSafe for LMModelOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
