Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function queries a previously initialized 2D convolution descriptor object.
/// </summary>
/// <param name="convDesc">Handle to a previously created convolution descriptor.</param>
/// <param name="pad_h">zero-padding height: number of rows of zeros implicitly concatenated
/// onto the top and onto the bottom of input images.</param>
/// <param name="pad_w">zero-padding width: number of columns of zeros implicitly concatenated
/// onto the left and onto the right of input images.</param>
/// <param name="u">Vertical filter stride.</param>
/// <param name="v">Horizontal filter stride.</param>
/// <param name="dilation_h">Filter height dilation.</param>
/// <param name="dilation_w">Filter width dilation.</param>
/// <param name="mode">Selects between CUDNN_CONVOLUTION and CUDNN_CROSS_CORRELATION.</param>
/// <param name="dataType">Data type.</param>
This function queries a previously initialized 2D convolution descriptor object.
This function queries a previously initialized 2D convolution descriptor object .
[DllImport(CUDNN_API_DLL_NAME)]
		public static extern cudnnStatus cudnnGetConvolution2dDescriptor(   cudnnConvolutionDescriptor convDesc,
																	 ref int pad_h,    
																	 ref int pad_w,    
																	 ref int u,        
																	 ref int v,        
																	 ref int dilation_h, 
                                                                     ref int dilation_w, 
                                                                     ref cudnnConvolutionMode mode,
                                                                     ref cudnnDataType dataType
                                                                  );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetConvolution2dDescriptor ( cudnnConvolutionDescriptor convDesc , ref int pad_h , ref int pad_w , ref int u , ref int v , ref int dilation_h , ref int dilation_w , ref cudnnConvolutionMode mode , ref cudnnDataType dataType ) ;
This function queries a previously initialized 2D convolution descriptor object.
This function queries a previously initialized 2D convolution descriptor object .
// zero-padding height // zero-padding width // vertical filter stride // horizontal filter stride // filter dilation in the vertical dimension // filter dilation in the horizontal dimension
convDesc
cudnnConvolutionDescriptor
Handle to a previously created convolution descriptor.
Handle to a previously created convolution descriptor .
int
ref
cudnnConvolutionMode
ref
cudnnDataType
ref
pad_h
zero-padding height: number of rows of zeros implicitly concatenated
onto the top and onto the bottom of input images.
zero - padding height : number of rows of zeros implicitly concatenated onto the top and onto the bottom of input images .
pad_w
zero-padding width: number of columns of zeros implicitly concatenated
onto the left and onto the right of input images.
zero - padding width : number of columns of zeros implicitly concatenated onto the left and onto the right of input images .
u
Vertical filter stride.
Vertical filter stride .
v
Horizontal filter stride.
Horizontal filter stride .
dilation_h
Filter height dilation.
Filter height dilation .
dilation_w
Filter width dilation.
Filter width dilation .
mode
Selects between CUDNN_CONVOLUTION and CUDNN_CROSS_CORRELATION.
Selects between CUDNN_CONVOLUTION and CUDNN_CROSS_CORRELATION .
dataType
None