[−][src]Struct onednn_sys::dnnl_post_ops
@struct dnnl_post_ops @brief An opaque structure for a chain of post operations.
dnnl_post_ops can be used to perform some (trivial) operations like accumulation or eltwise after certain primitives like convolution.
Post operations might be combined together, making a chain of post operations. For instance one can configure convolution followed by accumulation followed by eltwise. This might be especially beneficial for residual learning blocks.
@warning Of course not all combinations are supported, so the user should handle errors accordingly.
Supported post operations:
- accumulation (base primitive: convolution)
- eltwise (base primitive: convolution)
Trait Implementations
impl Clone for dnnl_post_ops
[src]
fn clone(&self) -> dnnl_post_ops
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for dnnl_post_ops
[src]
impl Debug for dnnl_post_ops
[src]
Auto Trait Implementations
impl RefUnwindSafe for dnnl_post_ops
impl Send for dnnl_post_ops
impl Sync for dnnl_post_ops
impl Unpin for dnnl_post_ops
impl UnwindSafe for dnnl_post_ops
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,