pub struct GGUFTensorInfo {
pub name: String,
pub shape: Vec<u64>,
pub dtype: GGMLType,
pub offset: u64,
}Fields§
§name: String§shape: Vec<u64>Dims exactly as stored in the file (GGUF order — reversed row-major).
dtype: GGMLType§offset: u64Byte offset relative to the start of the data section.
Implementations§
Auto Trait Implementations§
impl Freeze for GGUFTensorInfo
impl RefUnwindSafe for GGUFTensorInfo
impl Send for GGUFTensorInfo
impl Sync for GGUFTensorInfo
impl Unpin for GGUFTensorInfo
impl UnsafeUnpin for GGUFTensorInfo
impl UnwindSafe for GGUFTensorInfo
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