pub struct Conditioning {
pub hidden: Vec<f32>,
pub seq_len: usize,
pub hidden_size: usize,
}Expand description
Conditioning rows for one prompt. hidden is row-major and contains
only valid rows after the official 64-token instruction prefix is dropped.
Fields§
§seq_len: usizeTrait Implementations§
Source§impl Clone for Conditioning
impl Clone for Conditioning
Auto Trait Implementations§
impl Freeze for Conditioning
impl RefUnwindSafe for Conditioning
impl Send for Conditioning
impl Sync for Conditioning
impl Unpin for Conditioning
impl UnsafeUnpin for Conditioning
impl UnwindSafe for Conditioning
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