pub struct BatchedConv1dConfig {
pub batch: usize,
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,
pub input_batch_stride: usize,
pub output_batch_stride: usize,
}Fields§
§batch: usize§channels_in: usize§channels_out: usize§input_length: usize§kernel_size: usize§stride: usize§dilation: usize§groups: usize§left_padding: usize§right_padding: usize§input_batch_stride: usize§output_batch_stride: usizeImplementations§
Source§impl BatchedConv1dConfig
impl BatchedConv1dConfig
pub fn output_length(self) -> Result<usize>
Trait Implementations§
Source§impl Clone for BatchedConv1dConfig
impl Clone for BatchedConv1dConfig
Source§fn clone(&self) -> BatchedConv1dConfig
fn clone(&self) -> BatchedConv1dConfig
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 BatchedConv1dConfig
Source§impl Debug for BatchedConv1dConfig
impl Debug for BatchedConv1dConfig
impl Eq for BatchedConv1dConfig
Source§impl PartialEq for BatchedConv1dConfig
impl PartialEq for BatchedConv1dConfig
Source§fn eq(&self, other: &BatchedConv1dConfig) -> bool
fn eq(&self, other: &BatchedConv1dConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchedConv1dConfig
Auto Trait Implementations§
impl Freeze for BatchedConv1dConfig
impl RefUnwindSafe for BatchedConv1dConfig
impl Send for BatchedConv1dConfig
impl Sync for BatchedConv1dConfig
impl Unpin for BatchedConv1dConfig
impl UnsafeUnpin for BatchedConv1dConfig
impl UnwindSafe for BatchedConv1dConfig
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