pub struct MtpStep {
pub tokens: Vec<LlamaToken>,
pub n_accepted: i32,
}Expand description
Result of one MtpSpeculative::step.
Fields§
§tokens: Vec<LlamaToken>Tokens emitted this step — append to the output; each token is emitted exactly once across steps.
n_accepted: i32Number of draft tokens accepted this step (0..=n_max).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MtpStep
impl RefUnwindSafe for MtpStep
impl Send for MtpStep
impl Sync for MtpStep
impl Unpin for MtpStep
impl UnsafeUnpin for MtpStep
impl UnwindSafe for MtpStep
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