pub struct PatchEffect {
pub probability_delta: f32,
pub logit_delta: f32,
pub flipped_decision: bool,
pub causal_importance: f32,
}Expand description
Effect of an activation patch
Fields§
§probability_delta: f32Change in output probability for target token
logit_delta: f32Change in logit for target token
flipped_decision: boolDid patching flip the decision?
causal_importance: f32Causal importance score
Trait Implementations§
Source§impl Clone for PatchEffect
impl Clone for PatchEffect
Source§fn clone(&self) -> PatchEffect
fn clone(&self) -> PatchEffect
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PatchEffect
impl RefUnwindSafe for PatchEffect
impl Send for PatchEffect
impl Sync for PatchEffect
impl Unpin for PatchEffect
impl UnwindSafe for PatchEffect
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