pub struct ConvolutionProblem {Show 14 fields
pub m: usize,
pub n: usize,
pub k: usize,
pub lhs_layout: MatrixLayout,
pub rhs_layout: MatrixLayout,
pub kernel_size: Vec<u32>,
pub stride: Vec<u32>,
pub padding: Vec<i32>,
pub dilation: Vec<u32>,
pub batches: usize,
pub channels: usize,
pub shape: Vec<usize>,
pub out_shape: Vec<usize>,
pub dimensionality: Dimensionality,
}
Expand description
Description of a matmul problem to solve, regardless of actual data
Fields§
§m: usize
§n: usize
§k: usize
§lhs_layout: MatrixLayout
§rhs_layout: MatrixLayout
§kernel_size: Vec<u32>
§stride: Vec<u32>
§padding: Vec<i32>
§dilation: Vec<u32>
§batches: usize
§channels: usize
§shape: Vec<usize>
§out_shape: Vec<usize>
§dimensionality: Dimensionality
Implementations§
Source§impl ConvolutionProblem
impl ConvolutionProblem
pub fn as_matmul_problem(&self) -> MatmulProblem
Trait Implementations§
Source§impl Clone for ConvolutionProblem
impl Clone for ConvolutionProblem
Source§fn clone(&self) -> ConvolutionProblem
fn clone(&self) -> ConvolutionProblem
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 moreAuto Trait Implementations§
impl Freeze for ConvolutionProblem
impl RefUnwindSafe for ConvolutionProblem
impl Send for ConvolutionProblem
impl Sync for ConvolutionProblem
impl Unpin for ConvolutionProblem
impl UnwindSafe for ConvolutionProblem
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