pub struct DepthwiseConvolution2DDescriptorInfo {
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 padding_style: usize,
pub data_layout: usize,
pub weights_layout: usize,
}Expand description
Mirrors the MPSGraph framework counterpart for DepthwiseConvolution2DDescriptorInfo.
Fields§
§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.
padding_style: usizeMirrors the MPSGraph framework property for padding_style.
data_layout: usizeMirrors the MPSGraph framework property for data_layout.
weights_layout: usizeMirrors the MPSGraph framework property for weights_layout.
Trait Implementations§
Source§impl Clone for DepthwiseConvolution2DDescriptorInfo
impl Clone for DepthwiseConvolution2DDescriptorInfo
Source§fn clone(&self) -> DepthwiseConvolution2DDescriptorInfo
fn clone(&self) -> DepthwiseConvolution2DDescriptorInfo
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 moreimpl Copy for DepthwiseConvolution2DDescriptorInfo
Auto Trait Implementations§
impl Freeze for DepthwiseConvolution2DDescriptorInfo
impl RefUnwindSafe for DepthwiseConvolution2DDescriptorInfo
impl Send for DepthwiseConvolution2DDescriptorInfo
impl Sync for DepthwiseConvolution2DDescriptorInfo
impl Unpin for DepthwiseConvolution2DDescriptorInfo
impl UnsafeUnpin for DepthwiseConvolution2DDescriptorInfo
impl UnwindSafe for DepthwiseConvolution2DDescriptorInfo
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