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

pub struct Im2Col<T: Copy + Datum + Zero> {
    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<T>,
    // some fields omitted
}

Fields

patch: Patchinput_shape: DataShapeoutput_shape: DataShapem: usizek: usizen: usizegroup: usizeci_per_group: usizeb_pack: PackB<T>

Implementations

impl<T: Copy + Datum + Zero> Im2Col<T>[src]

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

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

Trait Implementations

impl<T: Clone + Copy + Datum + Zero> Clone for Im2Col<T>[src]

impl<T: Debug + Copy + Datum + Zero> Debug for Im2Col<T>[src]

impl<T: Copy + Datum + Zero> DynHash for Im2Col<T>[src]

impl<T: Copy + Datum + Zero> Hash for Im2Col<T>[src]

impl<T: Copy + Datum + Zero> Op for Im2Col<T>[src]

impl<T: Copy + Datum + Zero> PartialEq<Im2Col<T>> for Im2Col<T>[src]

impl<T: Copy + Datum + Zero> StatelessOp for Im2Col<T>[src]

impl<T: Copy + Datum + Zero> TypedOp for Im2Col<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Im2Col<T> where
    T: RefUnwindSafe

impl<T> Send for Im2Col<T>

impl<T> Sync for Im2Col<T>

impl<T> Unpin for Im2Col<T> where
    T: Unpin

impl<T> UnwindSafe for Im2Col<T> where
    T: UnwindSafe

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<O> StatefullOp for O where
    O: StatelessOp + Clone
[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.