pub struct Conv1dConfig {
pub channels_in: usize,
pub channels_out: usize,
pub input_length: usize,
pub kernel_size: usize,
pub stride: usize,
pub dilation: usize,
pub groups: usize,
pub left_padding: usize,
pub right_padding: usize,
}Fields§
§channels_in: usize§channels_out: usize§input_length: usize§kernel_size: usize§stride: usize§dilation: usize§groups: usize§left_padding: usize§right_padding: usizeImplementations§
Source§impl Conv1dConfig
impl Conv1dConfig
pub fn output_length(self) -> Result<usize>
Trait Implementations§
Source§impl Clone for Conv1dConfig
impl Clone for Conv1dConfig
Source§fn clone(&self) -> Conv1dConfig
fn clone(&self) -> Conv1dConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Conv1dConfig
Source§impl Debug for Conv1dConfig
impl Debug for Conv1dConfig
impl Eq for Conv1dConfig
Source§impl PartialEq for Conv1dConfig
impl PartialEq for Conv1dConfig
Source§fn eq(&self, other: &Conv1dConfig) -> bool
fn eq(&self, other: &Conv1dConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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