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