#[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)