pub struct StepVisionUnit {
pub main: Vec<f32>,
pub tiles: Vec<Vec<f32>>,
pub newline_mask: Vec<bool>,
}Expand description
One preprocessed step37 image: the 728 main view plus its 504 crop tiles, each as patch rows the tower consumes directly. Carried from the HTTP layer to the GPU worker; the patch buffers drop after the tower forward.
Fields§
§main: Vec<f32>[52*52, 588] rows, (c, ky, kx) inner order.
tiles: Vec<Vec<f32>>Each [36*36, 588]; slide-window order (row-major over the tile grid).
newline_mask: Vec<bool>Implementations§
Auto Trait Implementations§
impl Freeze for StepVisionUnit
impl RefUnwindSafe for StepVisionUnit
impl Send for StepVisionUnit
impl Sync for StepVisionUnit
impl Unpin for StepVisionUnit
impl UnsafeUnpin for StepVisionUnit
impl UnwindSafe for StepVisionUnit
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