pub struct Tile3 {
pub batch: usize,
pub rows: usize,
pub cols: usize,
}Expand description
3-D extension for [batch, rows, cols] tiles. Common for
per-head attention sweeps.
Fields§
§batch: usize§rows: usize§cols: usizeImplementations§
Trait Implementations§
impl Copy for Tile3
impl Eq for Tile3
impl StructuralPartialEq for Tile3
Auto Trait Implementations§
impl Freeze for Tile3
impl RefUnwindSafe for Tile3
impl Send for Tile3
impl Sync for Tile3
impl Unpin for Tile3
impl UnsafeUnpin for Tile3
impl UnwindSafe for Tile3
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