[][src]Enum onednn_sys::dnnl_format_kind_t

#[repr(u32)]
#[non_exhaustive]pub enum dnnl_format_kind_t {
    dnnl_format_kind_undef,
    dnnl_format_kind_any,
    dnnl_blocked,
    dnnl_format_kind_wino,
    dnnl_format_kind_rnn_packed,
}

Memory format kind

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
dnnl_format_kind_undef

Undefined memory format kind, used for empty memory descriptors.

dnnl_format_kind_any

Unspecified format kind. The primitive selects a format automatically.

dnnl_blocked

A tensor in a generic format described by the stride and blocking values in each dimension. See @ref dnnl_blocking_desc_t for more information.

dnnl_format_kind_wino

Weights format used in 8bit Winograd convolution

dnnl_format_kind_rnn_packed

Packed weights format used in RNN

Trait Implementations

impl Clone for dnnl_format_kind_t[src]

impl Copy for dnnl_format_kind_t[src]

impl Debug for dnnl_format_kind_t[src]

impl Eq for dnnl_format_kind_t[src]

impl Hash for dnnl_format_kind_t[src]

impl PartialEq<dnnl_format_kind_t> for dnnl_format_kind_t[src]

impl StructuralEq for dnnl_format_kind_t[src]

impl StructuralPartialEq for dnnl_format_kind_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.