Struct candle_core::quantized::ggml_file::HParams
source · pub struct HParams {
pub n_vocab: u32,
pub n_embd: u32,
pub n_mult: u32,
pub n_head: u32,
pub n_layer: u32,
pub n_rot: u32,
pub ftype: u32,
}
Fields§
§n_vocab: u32
§n_embd: u32
§n_mult: u32
§n_head: u32
§n_layer: u32
§n_rot: u32
§ftype: u32
Trait Implementations§
source§impl PartialEq for HParams
impl PartialEq for HParams
impl Eq for HParams
impl StructuralPartialEq for HParams
Auto Trait Implementations§
impl Freeze for HParams
impl RefUnwindSafe for HParams
impl Send for HParams
impl Sync for HParams
impl Unpin for HParams
impl UnwindSafe for HParams
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<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.