Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function queries the parameters of the previouly initialized filter descriptor object.
/// v4 version of the function also has the format parameter.
/// </summary>
/// <param name="filterDesc">Handle to a previously created filter descriptor.</param>
/// <param name="dataType">Data type.</param>
/// <param name="format">Layout format.</param>
/// <param name="k">Number of output feature maps.</param>
/// <param name="c">Number of input feature maps.</param>
/// <param name="h">Height of each filter.</param>
/// <param name="w">Width of each filter.</param>
This function queries the parameters of the previouly initialized filter descriptor object.
v4 version of the function also has the format parameter.
This function queries the parameters of the previouly initialized filter descriptor object . v4 version of the function also has the format parameter .
[DllImport(CUDNN_API_DLL_NAME)]
        public static extern cudnnStatus cudnnGetFilter4dDescriptor(cudnnFilterDescriptor filterDesc,
                                                               ref cudnnDataType dataType, 
                                                               ref cudnnTensorFormat format, 
                                                               ref int k,        
                                                               ref int c,        
                                                               ref int h,        
                                                               ref int w         
                                                          );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetFilter4dDescriptor ( cudnnFilterDescriptor filterDesc , ref cudnnDataType dataType , ref cudnnTensorFormat format , ref int k , ref int c , ref int h , ref int w ) ;
This function queries the parameters of the previouly initialized filter descriptor object.
This function queries the parameters of the previouly initialized filter descriptor object .
// image data type // layout format // number of output feature maps // number of input feature maps // height of each input filter // width of  each input fitler
filterDesc
cudnnFilterDescriptor
Handle to a previously created filter descriptor.
Handle to a previously created filter descriptor .
cudnnDataType
ref
cudnnTensorFormat
ref
int
ref
dataType
None
format
None
k
Number of output feature maps.
Number of output feature maps .
c
Number of input feature maps.
Number of input feature maps .
h
Height of each filter.
Height of each filter .
w
Width of each filter.
Width of each filter .