Struct tch::nn::ConvTransposeConfigND
source · pub struct ConvTransposeConfigND<ND> {
pub stride: ND,
pub padding: ND,
pub output_padding: ND,
pub groups: i64,
pub bias: bool,
pub dilation: ND,
pub ws_init: Init,
pub bs_init: Init,
}
Expand description
A generic transposed convolution configuration.
Fields§
§stride: ND
§padding: ND
§output_padding: ND
§groups: i64
§bias: bool
§dilation: ND
§ws_init: Init
§bs_init: Init
Trait Implementations§
source§impl<ND: Clone> Clone for ConvTransposeConfigND<ND>
impl<ND: Clone> Clone for ConvTransposeConfigND<ND>
source§fn clone(&self) -> ConvTransposeConfigND<ND>
fn clone(&self) -> ConvTransposeConfigND<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 ConvTransposeConfigND<ND>
impl<ND: Debug> Debug for ConvTransposeConfigND<ND>
impl<ND: Copy> Copy for ConvTransposeConfigND<ND>
Auto Trait Implementations§
impl<ND> RefUnwindSafe for ConvTransposeConfigND<ND>where ND: RefUnwindSafe,
impl<ND> Send for ConvTransposeConfigND<ND>where ND: Send,
impl<ND> Sync for ConvTransposeConfigND<ND>where ND: Sync,
impl<ND> Unpin for ConvTransposeConfigND<ND>where ND: Unpin,
impl<ND> UnwindSafe for ConvTransposeConfigND<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