pub struct ImageSpan {
pub start: usize,
pub len: usize,
pub merged_h: usize,
pub merged_w: usize,
}Expand description
One image spliced into the prompt: where its tokens start, how many there are, and the merged patch grid they came from.
Fields§
§start: usize§len: usize§merged_h: usize§merged_w: usizeAuto Trait Implementations§
impl Freeze for ImageSpan
impl RefUnwindSafe for ImageSpan
impl Send for ImageSpan
impl Sync for ImageSpan
impl Unpin for ImageSpan
impl UnsafeUnpin for ImageSpan
impl UnwindSafe for ImageSpan
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