pub struct StructuralAccounting {
pub required: usize,
pub bound: usize,
pub missing: Vec<String>,
pub unexpected: Vec<String>,
pub deferred: usize,
}Fields§
§required: usize§bound: usize§missing: Vec<String>Structural tensors the checkpoint does not have. MUST be empty.
unexpected: Vec<String>Text tensors that are neither structural nor MLP/vision — i.e. names the skeleton was never taught. MUST be empty.
deferred: usizeMLP / MoE / vision tensors, deliberately not bound by this slice.
Implementations§
Source§impl StructuralAccounting
impl StructuralAccounting
pub fn is_complete(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructuralAccounting
impl RefUnwindSafe for StructuralAccounting
impl Send for StructuralAccounting
impl Sync for StructuralAccounting
impl Unpin for StructuralAccounting
impl UnwindSafe for StructuralAccounting
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