Struct tch::nn::ConvConfigND[][src]

pub struct ConvConfigND<ND> {
    pub stride: ND,
    pub padding: ND,
    pub dilation: ND,
    pub groups: i64,
    pub bias: bool,
    pub ws_init: Init,
    pub bs_init: Init,
}

Generic convolution config.

Fields

stride: NDpadding: NDdilation: NDgroups: i64bias: boolws_init: Initbs_init: Init

Trait Implementations

impl<ND: Clone> Clone for ConvConfigND<ND>[src]

impl<ND: Copy> Copy for ConvConfigND<ND>[src]

impl<ND: Debug> Debug for ConvConfigND<ND>[src]

impl Default for ConvConfigND<[i64; 2]>[src]

Auto Trait Implementations

impl<ND> RefUnwindSafe for ConvConfigND<ND> where
    ND: RefUnwindSafe

impl<ND> Send for ConvConfigND<ND> where
    ND: Send

impl<ND> Sync for ConvConfigND<ND> where
    ND: Sync

impl<ND> Unpin for ConvConfigND<ND> where
    ND: Unpin

impl<ND> UnwindSafe for ConvConfigND<ND> where
    ND: 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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,