pub struct GgufTensorInventory {
pub name: String,
pub dtype: String,
pub ggml_type: u32,
pub candle_dtype_available: bool,
pub quantization_format: Option<String>,
pub dimensions: Vec<u64>,
pub block_axis: usize,
pub logical_values_per_block: u64,
pub bytes_per_block: u64,
pub elements: u64,
pub absolute_offset: u64,
pub bytes: u64,
}Fields§
§name: String§dtype: String§ggml_type: u32§candle_dtype_available: boolDescriptor recognition does not imply a production provider exists.
quantization_format: Option<String>§dimensions: Vec<u64>Logical row-major dimensions, as consumed by the Ferrum GGUF reader.
block_axis: usize§logical_values_per_block: u64§bytes_per_block: u64§elements: u64§absolute_offset: u64§bytes: u64Trait Implementations§
Source§impl Clone for GgufTensorInventory
impl Clone for GgufTensorInventory
Source§fn clone(&self) -> GgufTensorInventory
fn clone(&self) -> GgufTensorInventory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GgufTensorInventory
impl Debug for GgufTensorInventory
impl Eq for GgufTensorInventory
Source§impl PartialEq for GgufTensorInventory
impl PartialEq for GgufTensorInventory
Source§impl Serialize for GgufTensorInventory
impl Serialize for GgufTensorInventory
impl StructuralPartialEq for GgufTensorInventory
Auto Trait Implementations§
impl Freeze for GgufTensorInventory
impl RefUnwindSafe for GgufTensorInventory
impl Send for GgufTensorInventory
impl Sync for GgufTensorInventory
impl Unpin for GgufTensorInventory
impl UnsafeUnpin for GgufTensorInventory
impl UnwindSafe for GgufTensorInventory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more