pub enum ConvLayout {
Nhwc,
Nchw,
}Expand description
Tensor layout for the convolution. CUTLASS’s implicit-GEMM kernels are NHWC-first; NCHW is a translated fallback.
Variants§
Implementations§
Source§impl ConvLayout
impl ConvLayout
pub fn cutlass_layout(self) -> &'static str
pub fn short_name(self) -> &'static str
Trait Implementations§
Source§impl Clone for ConvLayout
impl Clone for ConvLayout
Source§fn clone(&self) -> ConvLayout
fn clone(&self) -> ConvLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConvLayout
impl Debug for ConvLayout
Source§impl Hash for ConvLayout
impl Hash for ConvLayout
Source§impl PartialEq for ConvLayout
impl PartialEq for ConvLayout
Source§fn eq(&self, other: &ConvLayout) -> bool
fn eq(&self, other: &ConvLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ConvLayout
impl Eq for ConvLayout
impl StructuralPartialEq for ConvLayout
Auto Trait Implementations§
impl Freeze for ConvLayout
impl RefUnwindSafe for ConvLayout
impl Send for ConvLayout
impl Sync for ConvLayout
impl Unpin for ConvLayout
impl UnsafeUnpin for ConvLayout
impl UnwindSafe for ConvLayout
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.