[][src]Struct tract_core::ops::cnn::conv::Im2Col

pub struct Im2Col {
    pub patch: Patch,
    pub input_shape: DataShape,
    pub output_shape: DataShape,
    pub m: usize,
    pub k: usize,
    pub n: usize,
    pub group: usize,
    pub ci_per_group: usize,
    pub b_pack: PackB,
    // some fields omitted
}

Fields

patch: Patchinput_shape: DataShapeoutput_shape: DataShapem: usizek: usizen: usizegroup: usizeci_per_group: usizeb_pack: PackB

Implementations

impl Im2Col[src]

pub fn new(
    patch: Patch,
    input_shape: DataShape,
    m: usize,
    k: usize,
    n: usize,
    group: usize,
    ci_per_group: usize,
    b_pack: PackB,
    pad_value: Tensor
) -> TractResult<Im2Col>
[src]

pub fn output_shape(&self) -> &[usize]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

Trait Implementations

impl Clone for Im2Col[src]

impl Debug for Im2Col[src]

impl DynHash for Im2Col[src]

impl EvalOp for Im2Col[src]

impl Hash for Im2Col[src]

impl Op for Im2Col[src]

impl PartialEq<Im2Col> for Im2Col[src]

impl TypedOp for Im2Col[src]

Auto Trait Implementations

impl RefUnwindSafe for Im2Col

impl Send for Im2Col

impl Sync for Im2Col

impl Unpin for Im2Col

impl UnwindSafe for Im2Col

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> DynClone for T where
    T: Clone
[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.