pub enum TensorMapInterleave {
None,
B16,
B32,
}Expand description
Interleave setting for [TensorMap]
Variants§
None
No interleaving
B16
Interleaved with 16 bytes chunks in the last dim. i.e. NC/8HWC8 with f16
B32
Interleaved with 32 bytes chunks in the last dim. i.e. NC/16HWC16 with f16
Trait Implementations§
Source§impl Clone for TensorMapInterleave
impl Clone for TensorMapInterleave
Source§fn clone(&self) -> TensorMapInterleave
fn clone(&self) -> TensorMapInterleave
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorMapInterleave
impl Debug for TensorMapInterleave
Source§impl Default for TensorMapInterleave
impl Default for TensorMapInterleave
Source§fn default() -> TensorMapInterleave
fn default() -> TensorMapInterleave
Returns the “default value” for a type. Read more
Source§impl Hash for TensorMapInterleave
impl Hash for TensorMapInterleave
Source§impl PartialEq for TensorMapInterleave
impl PartialEq for TensorMapInterleave
impl Copy for TensorMapInterleave
impl Eq for TensorMapInterleave
impl StructuralPartialEq for TensorMapInterleave
Auto Trait Implementations§
impl Freeze for TensorMapInterleave
impl RefUnwindSafe for TensorMapInterleave
impl Send for TensorMapInterleave
impl Sync for TensorMapInterleave
impl Unpin for TensorMapInterleave
impl UnwindSafe for TensorMapInterleave
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.