MPSGraphPooling2DOpDescriptor
The class that defines the parameters for a 2D pooling operation.
Declaration
class MPSGraphPooling2DOpDescriptorOverview
Use this descriptor with the following methods:
maxPooling2DGradient(withGradientTensor:sourceTensor:descriptor:name:)
maxPooling2DGradient(withGradientTensor:indicesTensor:outputShape:descriptor:name:)
maxPooling2DGradient(withGradientTensor:indicesTensor:outputShapeTensor:descriptor:name:)
avgPooling2DGradient(withGradientTensor:sourceTensor:descriptor:name:)
Topics
Initializers
init(kernelWidth:kernelHeight:strideInX:strideInY:dilationRateInX:dilationRateInY:paddingLeft:paddingRight:paddingTop:paddingBottom:paddingStyle:dataLayout:)init(kernelWidth:kernelHeight:strideInX:strideInY:paddingStyle:dataLayout:)
Instance Properties
ceilModedataLayoutdilationRateInXdilationRateInYincludeZeroPadToAveragekernelHeightkernelWidthpaddingBottompaddingLeftpaddingRightpaddingStylepaddingTopreturnIndicesDataTypereturnIndicesModestrideInXstrideInY
Instance Methods
See Also
Classes
MPSGraphMPSGraphCompilationDescriptorMPSGraphConvolution2DOpDescriptorMPSGraphConvolution3DOpDescriptorMPSGraphCreateSparseOpDescriptorMPSGraphDepthwiseConvolution2DOpDescriptorMPSGraphDepthwiseConvolution3DOpDescriptorMPSGraphDeviceMPSGraphExecutableMPSGraphExecutableExecutionDescriptorMPSGraphExecutableSerializationDescriptorMPSGraphExecutionDescriptorMPSGraphFFTDescriptorMPSGraphGRUDescriptorMPSGraphImToColOpDescriptor