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
sourceimpl<ND: Clone> Clone for ConvTransposeConfigND<ND>
impl<ND: Clone> Clone for ConvTransposeConfigND<ND>
sourcefn clone(&self) -> ConvTransposeConfigND<ND>
fn clone(&self) -> ConvTransposeConfigND<ND>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more