pub struct FactorBranch {
pub u: Param,
pub v: Param,
pub u1: Param,
pub u2: Param,
pub v1: Param,
pub v2: Param,
}Expand description
One latent factorization branch (U, V, u1, u2, v1, v2).
Fields§
§u: ParamLeft binary-quantized factor (out_features, split_dim).
v: ParamRight binary-quantized factor (split_dim, in_features).
u1: ParamOutput row scale (1, out_features).
u2: ParamOutput latent rank scale (1, split_dim).
v1: ParamInput latent rank scale (1, split_dim).
v2: ParamInput column scale (1, in_features).
Trait Implementations§
Source§impl Clone for FactorBranch
impl Clone for FactorBranch
Auto Trait Implementations§
impl !RefUnwindSafe for FactorBranch
impl !UnwindSafe for FactorBranch
impl Freeze for FactorBranch
impl Send for FactorBranch
impl Sync for FactorBranch
impl Unpin for FactorBranch
impl UnsafeUnpin for FactorBranch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T, U> Imply<T> for U
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