Struct tch::nn::ConvConfigND
source · 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,
pub padding_mode: PaddingMode,
}
Expand description
Generic convolution config.
Fields§
§stride: ND
§padding: ND
§dilation: ND
§groups: i64
§bias: bool
§ws_init: Init
§bs_init: Init
§padding_mode: PaddingMode
Trait Implementations§
source§impl<ND: Clone> Clone for ConvConfigND<ND>
impl<ND: Clone> Clone for ConvConfigND<ND>
source§fn clone(&self) -> ConvConfigND<ND>
fn clone(&self) -> ConvConfigND<ND>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<ND: Debug> Debug for ConvConfigND<ND>
impl<ND: Debug> Debug for ConvConfigND<ND>
impl<ND: Copy> Copy for ConvConfigND<ND>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more