Struct candle_nn::conv::ConvTranspose2dConfig
source · pub struct ConvTranspose2dConfig {
pub padding: usize,
pub output_padding: usize,
pub stride: usize,
pub dilation: usize,
}
Fields§
§padding: usize
§output_padding: usize
§stride: usize
§dilation: usize
Trait Implementations§
source§impl Clone for ConvTranspose2dConfig
impl Clone for ConvTranspose2dConfig
source§fn clone(&self) -> ConvTranspose2dConfig
fn clone(&self) -> ConvTranspose2dConfig
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 Debug for ConvTranspose2dConfig
impl Debug for ConvTranspose2dConfig
source§impl Default for ConvTranspose2dConfig
impl Default for ConvTranspose2dConfig
source§impl PartialEq for ConvTranspose2dConfig
impl PartialEq for ConvTranspose2dConfig
source§fn eq(&self, other: &ConvTranspose2dConfig) -> bool
fn eq(&self, other: &ConvTranspose2dConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConvTranspose2dConfig
impl Eq for ConvTranspose2dConfig
impl StructuralPartialEq for ConvTranspose2dConfig
Auto Trait Implementations§
impl Freeze for ConvTranspose2dConfig
impl RefUnwindSafe for ConvTranspose2dConfig
impl Send for ConvTranspose2dConfig
impl Sync for ConvTranspose2dConfig
impl Unpin for ConvTranspose2dConfig
impl UnwindSafe for ConvTranspose2dConfig
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.