pub struct SplicedPooler {
pub output: PathBuf,
pub n_embd: usize,
pub n_out: usize,
pub head_dtype: GgmlType,
pub classifier_max_abs_diff: f32,
pub classifier_allowed: f32,
}Expand description
What was spliced, for the CLI’s report.
Fields§
§output: PathBuf§n_embd: usize§n_out: usize§head_dtype: GgmlTypeHow cls.output.weight is stored in the source, which is what
IDENTITY_TOLERANCE was checked against.
classifier_max_abs_diff: f32The largest element-wise deviation measured between the two classifiers, so the report shows the tie was tight and not merely under the bound.
classifier_allowed: f32The bound that deviation was held to, in absolute units.
Trait Implementations§
Source§impl Clone for SplicedPooler
impl Clone for SplicedPooler
Source§impl Debug for SplicedPooler
impl Debug for SplicedPooler
Source§impl PartialEq for SplicedPooler
impl PartialEq for SplicedPooler
impl StructuralPartialEq for SplicedPooler
Auto Trait Implementations§
impl Freeze for SplicedPooler
impl RefUnwindSafe for SplicedPooler
impl Send for SplicedPooler
impl Sync for SplicedPooler
impl Unpin for SplicedPooler
impl UnsafeUnpin for SplicedPooler
impl UnwindSafe for SplicedPooler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more