[][src]Struct tract_linalg::frame::conv::PackedConv

pub struct PackedConv<K, T> where
    K: ConvKer<T> + Debug,
    T: Copy + Add + Mul + Zero + Debug + Send + Sync
{ pub co: usize, pub kernel_offsets: Vec<isize>, pub k: usize, pub n: usize, pub data_offsets: Vec<isize>, // some fields omitted }

filters: O IHW packed as for matmul "m" = O "k" = I * Kh * Kw

data: unpacked

Fields

co: usizekernel_offsets: Vec<isize>k: usizen: usizedata_offsets: Vec<isize>

Methods

impl<K, T> PackedConv<K, T> where
    K: ConvKer<T>,
    T: Copy + Add + Mul + Zero + Debug + Send + Sync
[src]

pub fn new(
    co: usize,
    kernel_offsets: Vec<isize>,
    data_offsets: Vec<isize>
) -> PackedConv<K, T>
[src]

Trait Implementations

impl<K, T> Conv<T> for PackedConv<K, T> where
    K: ConvKer<T>,
    T: Copy + Add + Mul + Zero + Debug + Send + Sync + PartialEq
[src]

impl<K: Clone, T: Clone> Clone for PackedConv<K, T> where
    K: ConvKer<T> + Debug,
    T: Copy + Add + Mul + Zero + Debug + Send + Sync
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<K, T> Debug for PackedConv<K, T> where
    K: ConvKer<T>,
    T: Copy + Add + Mul + Zero + Debug + Send + Sync
[src]

Auto Trait Implementations

impl<K, T> Send for PackedConv<K, T>

impl<K, T> Sync for PackedConv<K, T>

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

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