pub struct Convolution2DDescriptorInfo {
pub stride_in_x: usize,
pub stride_in_y: usize,
pub dilation_rate_in_x: usize,
pub dilation_rate_in_y: usize,
pub groups: 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
Plain-Rust configuration for MPSGraphConvolution2DOpDescriptor.
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.
groups: usizeMirrors the MPSGraph framework property for groups.
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 Convolution2DDescriptorInfo
impl Clone for Convolution2DDescriptorInfo
Source§fn clone(&self) -> Convolution2DDescriptorInfo
fn clone(&self) -> Convolution2DDescriptorInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more