pub struct ConvolutionConfig {
pub filter_shape: Vec<usize>,
pub stride: Vec<i32>,
pub padding: Vec<i32>,
}Fields§
§filter_shape: Vec<usize>§stride: Vec<i32>§padding: Vec<i32>Trait Implementations§
Source§impl Clone for ConvolutionConfig
impl Clone for ConvolutionConfig
Source§fn clone(&self) -> ConvolutionConfig
fn clone(&self) -> ConvolutionConfig
Returns a duplicate 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<'a, T> ConvolutionConfig<T> for ConvolutionConfig
impl<'a, T> ConvolutionConfig<T> for ConvolutionConfig
Source§fn workspace_size(&self) -> usize
fn workspace_size(&self) -> usize
Returns the largest workspace size in bytes needed
for any of the convolution operations.
Source§impl Debug for ConvolutionConfig
impl Debug for ConvolutionConfig
impl<'a, T> NNOperationConfig<T> for ConvolutionConfig
Auto Trait Implementations§
impl Freeze for ConvolutionConfig
impl RefUnwindSafe for ConvolutionConfig
impl Send for ConvolutionConfig
impl Sync for ConvolutionConfig
impl Unpin for ConvolutionConfig
impl UnwindSafe for ConvolutionConfig
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