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: PaddingModeTrait 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 more