pub struct Im2colLayoutLaunch<R: Runtime> {
pub shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>,
pub padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<R>,
pub rows: <u32 as LaunchArg>::RuntimeArg<R>,
pub cols: <u32 as LaunchArg>::RuntimeArg<R>,
pub params: ConvolutionParams,
pub config: GlobalLayoutConfig,
/* private fields */
}Fields§
§shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>§padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<R>§rows: <u32 as LaunchArg>::RuntimeArg<R>§cols: <u32 as LaunchArg>::RuntimeArg<R>§params: ConvolutionParams§config: GlobalLayoutConfigImplementations§
Source§impl<R: Runtime> Im2colLayoutLaunch<R>
impl<R: Runtime> Im2colLayoutLaunch<R>
Sourcepub fn new(
shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>,
padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<R>,
rows: <u32 as LaunchArg>::RuntimeArg<R>,
cols: <u32 as LaunchArg>::RuntimeArg<R>,
params: ConvolutionParams,
config: GlobalLayoutConfig,
) -> Self
pub fn new( shape_out: <Sequence<FastDivmod<u32>> as LaunchArg>::RuntimeArg<R>, padded_channels: <FastDivmod<u32> as LaunchArg>::RuntimeArg<R>, rows: <u32 as LaunchArg>::RuntimeArg<R>, cols: <u32 as LaunchArg>::RuntimeArg<R>, params: ConvolutionParams, config: GlobalLayoutConfig, ) -> Self
New kernel
Source§impl<R: Runtime> Im2colLayoutLaunch<R>
impl<R: Runtime> Im2colLayoutLaunch<R>
pub fn from_args( problem: &ConvolutionProblem, params: ConvolutionParams, config: GlobalLayoutConfig, ) -> Self
Auto Trait Implementations§
impl<R> Freeze for Im2colLayoutLaunch<R>
impl<R> RefUnwindSafe for Im2colLayoutLaunch<R>where
R: RefUnwindSafe,
impl<R> Send for Im2colLayoutLaunch<R>
impl<R> Sync for Im2colLayoutLaunch<R>
impl<R> Unpin for Im2colLayoutLaunch<R>where
R: Unpin,
impl<R> UnsafeUnpin for Im2colLayoutLaunch<R>
impl<R> UnwindSafe for Im2colLayoutLaunch<R>where
R: UnwindSafe,
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