Struct coaster_nn::frameworks::native::helper::ConvolutionConfig
source · 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 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<'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 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