Library/ManagedCuda/CudaDNN/FilterDescriptor.cs
/// <summary>
/// This function queries the parameters of the previouly initialized filter descriptor object.
/// </summary>
/// <param name="dataType">Data type.</param>
/// <param name="format">Enumerant holding the 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.
This function queries the parameters of the previouly initialized filter descriptor object .
public void GetFilter4dDescriptor(ref cudnnDataType dataType, 
                                            ref cudnnTensorFormat format,
											ref int k,        
											ref int c,        
											ref int h,        
											ref int w         
										)
		{
			res = CudaDNNNativeMethods.cudnnGetFilter4dDescriptor(_desc, ref dataType, ref format, ref k, ref c, ref h, ref w);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnGetFilter4dDescriptor", res));
			if (res != cudnnStatus.Success) throw new CudaDNNException(res);
		}
public void GetFilter4dDescriptor ( ref cudnnDataType dataType , ref cudnnTensorFormat format , ref int k , ref int c , ref int h , ref int w ) { res = CudaDNNNativeMethods . cudnnGetFilter4dDescriptor ( _desc , ref dataType , ref format , ref k , ref c , ref h , ref w ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cudnnStatus . Success ) throw new CudaDNNException ( res ) ; }
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 // number of output feature maps // number of input feature maps // height of each input filter // width of  each input fitler
cudnnDataType
ref
cudnnTensorFormat
ref
int
ref
dataType
None
format
Enumerant holding the layout format.
Enumerant holding the layout format .
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 .