.TH "MPSCNNDilatedPoolingMax" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSCNNDilatedPoolingMax .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSCNNPooling\fP\&. .SS "Instance Methods" .in +1c .ti -1c .RI "(nonnull instancetype) \- \fBinitWithDevice:kernelWidth:kernelHeight:dilationRateX:dilationRateY:strideInPixelsX:strideInPixelsY:\fP" .br .ti -1c .RI "(nullable instancetype) \- \fBinitWithCoder:device:\fP" .br .in -1c .SS "Properties" .in +1c .ti -1c .RI "NSUInteger \fBdilationRateX\fP" .br .ti -1c .RI "NSUInteger \fBdilationRateY\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP This depends on Metal\&.framework Specifies the dilated max pooling filter\&. For each pixel, returns the maximum value of pixels in the kernelWidth x kernelHeight filter region by step size dilationRateX x dilationRateY\&. .SH "Method Documentation" .PP .SS "\- (nullable instancetype) \fBinitWithCoder:\fP (NSCoder *__nonnull) aDecoder(nonnull id< MTLDevice >) device" \fBNSSecureCoding\fP compatability See \fBMPSKernel\&.h\fP initWithCoder\&. .PP \fBParameters:\fP .RS 4 \fIaDecoder\fP The NSCoder subclass with your serialized \fBMPSCNNDilatedPoolingMax\fP .br \fIdevice\fP The MTLDevice on which to make the \fBMPSCNNDilatedPoolingMax\fP .RE .PP \fBReturns:\fP .RS 4 \fBA\fP new \fBMPSCNNDilatedPoolingMax\fP object, or nil if failure\&. .RE .PP .PP Reimplemented from \fBMPSCNNPooling\fP\&. .SS "\- (nonnull instancetype) \fBinitWithDevice:\fP (nonnull id< MTLDevice >) device(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) dilationRateX(NSUInteger) dilationRateY(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY" Initialize a \fBMPSCNNDilatedPoolingMax\fP pooling filter .PP \fBParameters:\fP .RS 4 \fIdevice\fP The device the filter will run on .br \fIkernelWidth\fP The width of the kernel\&. Can be an odd or even value\&. .br \fIkernelHeight\fP The height of the kernel\&. Can be an odd or even value\&. .br \fIdilationRateX\fP The dilation rate in the x dimension\&. .br \fIdilationRateY\fP The dilation rate in the y dimension\&. .br \fIstrideInPixelsX\fP The output stride (downsampling factor) in the x dimension\&. .br \fIstrideInPixelsY\fP The output stride (downsampling factor) in the y dimension\&. .RE .PP \fBReturns:\fP .RS 4 \fBA\fP valid \fBMPSCNNDilatedPoolingMax\fP object or nil, if failure\&. .RE .PP .SH "Property Documentation" .PP .SS "\- dilationRateX\fC [read]\fP, \fC [nonatomic]\fP, \fC [assign]\fP" dilationRateX for accessing the image passed in as source .SS "\- dilationRateY\fC [read]\fP, \fC [nonatomic]\fP, \fC [assign]\fP" dilationRateY for accessing the image passed in as source .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.