pub struct Pooling2DDescriptorInfo {
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 padding_style: usize,
pub data_layout: usize,
}Expand description
Plain-Rust configuration for MPSGraphPooling2DOpDescriptor.
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.
padding_style: usizeMirrors the MPSGraph framework property for padding_style.
data_layout: usizeMirrors the MPSGraph framework property for data_layout.
Implementations§
Trait Implementations§
Source§impl Clone for Pooling2DDescriptorInfo
impl Clone for Pooling2DDescriptorInfo
Source§fn clone(&self) -> Pooling2DDescriptorInfo
fn clone(&self) -> Pooling2DDescriptorInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more