Struct candle_core::quantized::ggml_file::Vocab
source · pub struct Vocab {
pub token_score_pairs: Vec<(Vec<u8>, f32)>,
}
Fields§
§token_score_pairs: Vec<(Vec<u8>, f32)>
Trait Implementations§
source§impl PartialEq for Vocab
impl PartialEq for Vocab
impl StructuralPartialEq for Vocab
Auto Trait Implementations§
impl Freeze for Vocab
impl RefUnwindSafe for Vocab
impl Send for Vocab
impl Sync for Vocab
impl Unpin for Vocab
impl UnwindSafe for Vocab
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