Enum tch::nn::PaddingMode
source · pub enum PaddingMode {
Zeros,
Reflect,
Replicate,
Circular,
}Expand description
How padding is performed by convolution operations on the edge of the input tensor.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PaddingMode
impl Clone for PaddingMode
source§fn clone(&self) -> PaddingMode
fn clone(&self) -> PaddingMode
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