Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function queries a previously initialized filter descriptor object.
/// v4 version of the function also has the format parameter.
/// </summary>
/// <param name="filterDesc">Handle to a previously initialized filter descriptor.</param>
/// <param name="nbDimsRequested">Dimension of the expected filter descriptor. It is also the minimum size of
/// the arrays filterDimA in order to be able to hold the results</param>
/// <param name="dataType">Data type.</param>
/// <param name="format">Layout format.</param>
/// <param name="nbDims">Actual dimension of the filter.</param>
/// <param name="filterDimA">Array of dimension of at least nbDimsRequested that will be filled with
/// the filter parameters from the provided filter descriptor.</param>
This function queries a previously initialized filter descriptor object.
v4 version of the function also has the format parameter.
This function queries a previously initialized filter descriptor object . v4 version of the function also has the format parameter .
[DllImport(CUDNN_API_DLL_NAME)]
        public static extern cudnnStatus cudnnGetFilterNdDescriptor(cudnnFilterDescriptor filterDesc,
                                                               int nbDimsRequested,
                                                               ref cudnnDataType dataType, 
                                                               ref cudnnTensorFormat format, 
                                                               ref int nbDims,
                                                               int[] filterDimA
                                                            );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetFilterNdDescriptor ( cudnnFilterDescriptor filterDesc , int nbDimsRequested , ref cudnnDataType dataType , ref cudnnTensorFormat format , ref int nbDims , int [ ] filterDimA ) ;
This function queries a previously initialized filter descriptor object.
This function queries a previously initialized filter descriptor object .
// image data type // layout format
filterDesc
cudnnFilterDescriptor
Handle to a previously initialized filter descriptor.
Handle to a previously initialized filter descriptor .
nbDimsRequested
int
Dimension of the expected filter descriptor. It is also the minimum size of
the arrays filterDimA in order to be able to hold the results
Dimension of the expected filter descriptor . It is also the minimum size of the arrays filterDimA in order to be able to hold the results
cudnnDataType
ref
cudnnTensorFormat
ref
int
ref
filterDimA
int[]
Array of dimension of at least nbDimsRequested that will be filled with
the filter parameters from the provided filter descriptor.
Array of dimension of at least nbDimsRequested that will be filled with the filter parameters from the provided filter descriptor .
dataType
None
format
None
nbDims
Actual dimension of the filter.
Actual dimension of the filter .