pub enum Format {
Tritsliced,
Tritpacked,
Sparse,
Auto,
}Expand description
Preferred kernel format for operations.
Variants§
Tritsliced
Tritsliced: two bit planes (optimal for popcount operations)
Tritpacked
Tritpacked: 2 bits per trit (optimal for sequential access)
Sparse
Sparse: COO format (optimal for > 90% zeros)
Auto
Automatic selection based on data characteristics
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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