pub struct ImToColDescriptorInfo {
pub kernel_width: usize,
pub kernel_height: usize,
pub stride_in_x: usize,
pub stride_in_y: usize,
pub dilation_rate_in_x: usize,
pub dilation_rate_in_y: usize,
pub padding_left: usize,
pub padding_right: usize,
pub padding_top: usize,
pub padding_bottom: usize,
pub data_layout: usize,
}Expand description
Mirrors the MPSGraph framework counterpart for ImToColDescriptorInfo.
Fields§
§kernel_width: usizeMirrors the MPSGraph framework property for kernel_width.
kernel_height: usizeMirrors the MPSGraph framework property for kernel_height.
stride_in_x: usizeMirrors the MPSGraph framework property for stride_in_x.
stride_in_y: usizeMirrors the MPSGraph framework property for stride_in_y.
dilation_rate_in_x: usizeMirrors the MPSGraph framework property for dilation_rate_in_x.
dilation_rate_in_y: usizeMirrors the MPSGraph framework property for dilation_rate_in_y.
padding_left: usizeMirrors the MPSGraph framework property for padding_left.
padding_right: usizeMirrors the MPSGraph framework property for padding_right.
padding_top: usizeMirrors the MPSGraph framework property for padding_top.
padding_bottom: usizeMirrors the MPSGraph framework property for padding_bottom.
data_layout: usizeMirrors the MPSGraph framework property for data_layout.
Trait Implementations§
Source§impl Clone for ImToColDescriptorInfo
impl Clone for ImToColDescriptorInfo
Source§fn clone(&self) -> ImToColDescriptorInfo
fn clone(&self) -> ImToColDescriptorInfo
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 moreSource§impl Debug for ImToColDescriptorInfo
impl Debug for ImToColDescriptorInfo
Source§impl Default for ImToColDescriptorInfo
impl Default for ImToColDescriptorInfo
impl Copy for ImToColDescriptorInfo
Auto Trait Implementations§
impl Freeze for ImToColDescriptorInfo
impl RefUnwindSafe for ImToColDescriptorInfo
impl Send for ImToColDescriptorInfo
impl Sync for ImToColDescriptorInfo
impl Unpin for ImToColDescriptorInfo
impl UnsafeUnpin for ImToColDescriptorInfo
impl UnwindSafe for ImToColDescriptorInfo
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