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