pub struct Tensor {
pub name: String,
pub kind: u32,
pub offset: u64,
pub size: u64,
pub shape: Vec<u64>,
}
Expand description
Tensor in the GGUF file.
Fields§
§name: String
§kind: u32
§offset: u64
§size: u64
§shape: Vec<u64>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tensor
impl RefUnwindSafe for Tensor
impl Send for Tensor
impl Sync for Tensor
impl Unpin for Tensor
impl UnwindSafe for Tensor
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