pub enum SequentialDecisionSource {
Forced,
Sampled,
ForcedTailSkipped,
}Expand description
Origin of one resolved sequential token.
Variants§
Forced
The caller forced the token after logits were computed.
Sampled
A backend-native sampler selected the token.
ForcedTailSkipped
The caller forced the token in a tail whose model calls were omitted.
Trait Implementations§
Source§impl Clone for SequentialDecisionSource
impl Clone for SequentialDecisionSource
Source§fn clone(&self) -> SequentialDecisionSource
fn clone(&self) -> SequentialDecisionSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SequentialDecisionSource
Source§impl Debug for SequentialDecisionSource
impl Debug for SequentialDecisionSource
impl Eq for SequentialDecisionSource
Source§impl PartialEq for SequentialDecisionSource
impl PartialEq for SequentialDecisionSource
impl StructuralPartialEq for SequentialDecisionSource
Auto Trait Implementations§
impl Freeze for SequentialDecisionSource
impl RefUnwindSafe for SequentialDecisionSource
impl Send for SequentialDecisionSource
impl Sync for SequentialDecisionSource
impl Unpin for SequentialDecisionSource
impl UnsafeUnpin for SequentialDecisionSource
impl UnwindSafe for SequentialDecisionSource
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