pub struct ZPrepared {
pub key: u64,
pub shape: ZShape,
pub cap: Vec<f32>,
pub rope: ZRope,
pub device: bool,
}Expand description
Per-(prompt, resolution) state: the refined caption and the rope
tables, plus whether the device accepted gpu::zimage_prepare.
Fields§
§key: u64§shape: ZShape§cap: Vec<f32>[l_p, dim], after cap_embedder, pad-token rows and the context refiner.
rope: ZRope§device: boolAuto Trait Implementations§
impl Freeze for ZPrepared
impl RefUnwindSafe for ZPrepared
impl Send for ZPrepared
impl Sync for ZPrepared
impl Unpin for ZPrepared
impl UnsafeUnpin for ZPrepared
impl UnwindSafe for ZPrepared
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