Struct candle_sampling::logits_processor::TopLogprob
source · pub struct TopLogprob {
pub token: u32,
pub logprob: f32,
pub bytes: String,
}
Fields§
§token: u32
§logprob: f32
§bytes: String
Trait Implementations§
source§impl Clone for TopLogprob
impl Clone for TopLogprob
source§fn clone(&self) -> TopLogprob
fn clone(&self) -> TopLogprob
Returns a copy of the value. Read more
1.0.0 · 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 TopLogprob
impl Debug for TopLogprob
source§impl<'de> Deserialize<'de> for TopLogprob
impl<'de> Deserialize<'de> for TopLogprob
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TopLogprob
impl Send for TopLogprob
impl Sync for TopLogprob
impl Unpin for TopLogprob
impl UnwindSafe for TopLogprob
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