pub enum LoraAbKind {
A,
B,
}Expand description
Which half of a LoRA pair a target lands. A is copied contiguous into the
head of the padded [max_rank, in] region; B is row-repacked from stride
r to stride max_rank into [out, max_rank].
Variants§
Trait Implementations§
Source§impl Clone for LoraAbKind
impl Clone for LoraAbKind
Source§fn clone(&self) -> LoraAbKind
fn clone(&self) -> LoraAbKind
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 moreSource§impl Debug for LoraAbKind
impl Debug for LoraAbKind
Source§impl PartialEq for LoraAbKind
impl PartialEq for LoraAbKind
impl Copy for LoraAbKind
impl Eq for LoraAbKind
impl StructuralPartialEq for LoraAbKind
Auto Trait Implementations§
impl Freeze for LoraAbKind
impl RefUnwindSafe for LoraAbKind
impl Send for LoraAbKind
impl Sync for LoraAbKind
impl Unpin for LoraAbKind
impl UnwindSafe for LoraAbKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.