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 · Source§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<'de> Deserialize<'de> for TensorMapInterleave
 
impl<'de> Deserialize<'de> for TensorMapInterleave
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<TensorMapInterleave, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<TensorMapInterleave, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TensorMapInterleave
 
impl Hash for TensorMapInterleave
Source§impl PartialEq for TensorMapInterleave
 
impl PartialEq for TensorMapInterleave
Source§impl Serialize for TensorMapInterleave
 
impl Serialize for TensorMapInterleave
Source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
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.