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,
}
Expand description
Generic convolution config.
Fields
stride: ND
padding: ND
dilation: ND
groups: i64
bias: bool
ws_init: Init
bs_init: Init
Trait Implementations
sourceimpl<ND: Clone> Clone for ConvConfigND<ND>
impl<ND: Clone> Clone for ConvConfigND<ND>
sourcefn clone(&self) -> ConvConfigND<ND>
fn clone(&self) -> ConvConfigND<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 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
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