Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function initializes a previously created generic pooling descriptor object into a 2D description.
/// </summary>
/// <param name="poolingDesc">Handle to a previously created pooling descriptor.</param>
/// <param name="mode">Enumerant to specify the pooling mode.</param>
/// <param name="maxpoolingNanOpt">Nan propagation option for max pooling.</param>
/// <param name="windowHeight">Height of the pooling window.</param>
/// <param name="windowWidth">Width of the pooling window.</param>
/// <param name="verticalPadding">Size of vertical padding.</param>
/// <param name="horizontalPadding">Size of horizontal padding</param>
/// <param name="verticalStride">Pooling vertical stride.</param>
/// <param name="horizontalStride">Pooling horizontal stride.</param>
This function initializes a previously created generic pooling descriptor object into a 2D description.
This function initializes a previously created generic pooling descriptor object into a 2D description .
[DllImport(CUDNN_API_DLL_NAME)]
		public static extern cudnnStatus cudnnSetPooling2dDescriptor(  cudnnPoolingDescriptor poolingDesc,
																cudnnPoolingMode mode,
                                                                cudnnNanPropagation maxpoolingNanOpt,
                                                                int windowHeight,
																int windowWidth,
																int verticalPadding,
																int horizontalPadding,
																int verticalStride,
																int horizontalStride
														   );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnSetPooling2dDescriptor ( cudnnPoolingDescriptor poolingDesc , cudnnPoolingMode mode , cudnnNanPropagation maxpoolingNanOpt , int windowHeight , int windowWidth , int verticalPadding , int horizontalPadding , int verticalStride , int horizontalStride ) ;
This function initializes a previously created generic pooling descriptor object into a 2D description.
This function initializes a previously created generic pooling descriptor object into a 2D description .
poolingDesc
cudnnPoolingDescriptor
Handle to a previously created pooling descriptor.
Handle to a previously created pooling descriptor .
mode
cudnnPoolingMode
Enumerant to specify the pooling mode.
Enumerant to specify the pooling mode .
maxpoolingNanOpt
cudnnNanPropagation
Nan propagation option for max pooling.
Nan propagation option for max pooling .
windowHeight
int
Height of the pooling window.
Height of the pooling window .
windowWidth
int
Width of the pooling window.
Width of the pooling window .
verticalPadding
int
Size of vertical padding.
Size of vertical padding .
horizontalPadding
int
Size of horizontal padding
Size of horizontal padding
verticalStride
int
Pooling vertical stride.
Pooling vertical stride .
horizontalStride
int
Pooling horizontal stride.
Pooling horizontal stride .