#[repr(u32)]pub enum DimensionType {
    TENSORFLOW = 0,
    CAFFE = 1,
    CAFFE_C4 = 2,
}Variants§
Implementations§
Source§impl DimensionType
 
impl DimensionType
pub const NHWC: DimensionType = Self::TENSORFLOW
pub const NCHW: DimensionType = Self::CAFFE
pub const NC4HW4: DimensionType = Self::CAFFE_C4
Trait Implementations§
Source§impl Clone for DimensionType
 
impl Clone for DimensionType
Source§fn clone(&self) -> DimensionType
 
fn clone(&self) -> DimensionType
Returns a copy 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 DimensionType
 
impl Debug for DimensionType
Source§impl From<DimensionType> for DimensionType
 
impl From<DimensionType> for DimensionType
Source§fn from(dm: DimensionType) -> Self
 
fn from(dm: DimensionType) -> Self
Converts to this type from the input type.
Source§impl Hash for DimensionType
 
impl Hash for DimensionType
Source§impl PartialEq for DimensionType
 
impl PartialEq for DimensionType
impl Copy for DimensionType
impl Eq for DimensionType
impl StructuralPartialEq for DimensionType
Auto Trait Implementations§
impl Freeze for DimensionType
impl RefUnwindSafe for DimensionType
impl Send for DimensionType
impl Sync for DimensionType
impl Unpin for DimensionType
impl UnwindSafe for DimensionType
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