pub struct PriorArchive {
pub magic: ArchiveMagic,
pub archive_bytes: u64,
pub archive_sha256: String,
pub metadata: ArchiveMetadata,
pub tensors: BTreeMap<String, DequantizedTensor>,
}Expand description
Complete decoded quantized prior archive.
Fields§
§magic: ArchiveMagicFour-byte magic kind.
archive_bytes: u64Total file size on disk in bytes.
archive_sha256: StringSHA-256 hex digest of the raw archive file.
metadata: ArchiveMetadataParsed archive JSON metadata.
tensors: BTreeMap<String, DequantizedTensor>Dequantized f32 tensors keyed by parameter name.
Trait Implementations§
Source§impl Clone for PriorArchive
impl Clone for PriorArchive
Source§impl Debug for PriorArchive
impl Debug for PriorArchive
Source§impl PartialEq for PriorArchive
impl PartialEq for PriorArchive
impl StructuralPartialEq for PriorArchive
Auto Trait Implementations§
impl Freeze for PriorArchive
impl RefUnwindSafe for PriorArchive
impl Send for PriorArchive
impl Sync for PriorArchive
impl Unpin for PriorArchive
impl UnsafeUnpin for PriorArchive
impl UnwindSafe for PriorArchive
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