pub struct Encoding { /* private fields */ }Implementations§
Source§impl Encoding
impl Encoding
pub fn of(graph: &Graph<'_>, alignment: u64, profile: Profile) -> Self
pub fn profile(&self) -> Profile
pub fn tiles(&self) -> &[MatmulTile]
pub fn kinds(&self) -> &[Kind]
pub fn elements(&self) -> &[Element]
pub fn attention(&self) -> &[AttentionTile]
pub fn matmul_geometries(&self) -> Vec<(MatmulTile, u32)>
pub fn walked_tiles(&self) -> impl Iterator<Item = (u32, MatmulTile)> + '_
pub fn tasks(&self) -> &[u8] ⓘ
pub fn values(&self) -> &[u8] ⓘ
pub fn bounds(&self) -> &[u8] ⓘ
pub fn steps(&self) -> &[u8] ⓘ
pub fn segments(&self) -> &[SegmentRecord]
pub fn dispatches(&self) -> &[Dispatch]
pub fn span(&self, value: Value<'_>, placement: Placement) -> Span
pub fn readable(&self, value: Value<'_>) -> bool
pub fn arena_bytes(&self) -> u64
pub fn quanta(&self) -> &[Quantum]
pub fn weights(&self) -> &Region
pub fn state(&self) -> &Region
pub fn tensors(&self) -> &Region
pub fn tensor_bytes(&self) -> u64
pub fn resident_bytes(&self) -> u64
pub fn updates_weights(&self) -> bool
pub fn task_count(&self) -> u32
pub fn step_count(&self) -> u32
pub fn value_count(&self) -> u32
pub fn dispatch_count(&self) -> u32
pub fn work(&self) -> u64
Auto Trait Implementations§
impl Forget for Encoding
impl Freeze for Encoding
impl Move for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnsafeUnpin for Encoding
impl UnwindSafe for Encoding
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