Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function provides the output dimensions of a tensor after 2d pooling has been applied
/// </summary>
/// <param name="poolingDesc">Handle to a previously inititalized pooling descriptor.</param>
/// <param name="inputTensorDesc">Handle to the previously initialized input tensor descriptor.</param>
/// <param name="n">Number of images in the output</param>
/// <param name="c">Number of channels in the output</param>
/// <param name="h">Height of images in the output</param>
/// <param name="w">Width of images in the output</param>
This function provides the output dimensions of a tensor after 2d pooling has been applied
This function provides the output dimensions of a tensor after 2d pooling has been applied
[DllImport(CUDNN_API_DLL_NAME)]
		public static extern cudnnStatus cudnnGetPooling2dForwardOutputDim( cudnnPoolingDescriptor poolingDesc,
																	 cudnnTensorDescriptor inputTensorDesc,
																	 ref int n,
																	 ref int c,
																	 ref int h,
																	 ref int w);
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetPooling2dForwardOutputDim ( cudnnPoolingDescriptor poolingDesc , cudnnTensorDescriptor inputTensorDesc , ref int n , ref int c , ref int h , ref int w ) ;
This function provides the output dimensions of a tensor after 2d pooling has been applied
This function provides the output dimensions of a tensor after 2d pooling has been applied
poolingDesc
cudnnPoolingDescriptor
Handle to a previously inititalized pooling descriptor.
Handle to a previously inititalized pooling descriptor .
inputTensorDesc
cudnnTensorDescriptor
Handle to the previously initialized input tensor descriptor.
Handle to the previously initialized input tensor descriptor .
int
ref
n
Number of images in the output
Number of images in the output
c
Number of channels in the output
Number of channels in the output
h
Height of images in the output
Height of images in the output
w
Width of images in the output
Width of images in the output