pub struct LoraStackEntry {
pub input_slot: u16,
pub target: Digest,
pub scales: ScaleSchedule,
}Expand description
One entry in the exact ordered LoRA stack.
Fields§
§input_slot: u16Slot of the bound LoRA artifact.
target: DigestExact native target-resolution implementation.
scales: ScaleSchedulePer-step multiplier schedule.
Trait Implementations§
Source§impl Clone for LoraStackEntry
impl Clone for LoraStackEntry
Source§impl Debug for LoraStackEntry
impl Debug for LoraStackEntry
Source§impl<'de> Deserialize<'de> for LoraStackEntry
impl<'de> Deserialize<'de> for LoraStackEntry
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 LoraStackEntry
Source§impl PartialEq for LoraStackEntry
impl PartialEq for LoraStackEntry
Source§impl Serialize for LoraStackEntry
impl Serialize for LoraStackEntry
impl StructuralPartialEq for LoraStackEntry
Auto Trait Implementations§
impl Freeze for LoraStackEntry
impl RefUnwindSafe for LoraStackEntry
impl Send for LoraStackEntry
impl Sync for LoraStackEntry
impl Unpin for LoraStackEntry
impl UnsafeUnpin for LoraStackEntry
impl UnwindSafe for LoraStackEntry
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