pub enum CandidateLogitsSource {
Original,
Effective,
}Expand description
Whether raw candidates precede or follow mutation at the logits hook.
Variants§
Original
Before interventions at this hook; earlier hooks may already have changed it.
Effective
After interventions at this hook, before ordinary sampler processing.
Trait Implementations§
Source§impl Clone for CandidateLogitsSource
impl Clone for CandidateLogitsSource
Source§fn clone(&self) -> CandidateLogitsSource
fn clone(&self) -> CandidateLogitsSource
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 CandidateLogitsSource
Source§impl Debug for CandidateLogitsSource
impl Debug for CandidateLogitsSource
Source§impl Default for CandidateLogitsSource
impl Default for CandidateLogitsSource
Source§fn default() -> CandidateLogitsSource
fn default() -> CandidateLogitsSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CandidateLogitsSource
impl<'de> Deserialize<'de> for CandidateLogitsSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CandidateLogitsSource
Source§impl PartialEq for CandidateLogitsSource
impl PartialEq for CandidateLogitsSource
Source§impl Serialize for CandidateLogitsSource
impl Serialize for CandidateLogitsSource
impl StructuralPartialEq for CandidateLogitsSource
Auto Trait Implementations§
impl Freeze for CandidateLogitsSource
impl RefUnwindSafe for CandidateLogitsSource
impl Send for CandidateLogitsSource
impl Sync for CandidateLogitsSource
impl Unpin for CandidateLogitsSource
impl UnsafeUnpin for CandidateLogitsSource
impl UnwindSafe for CandidateLogitsSource
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