Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function retrieves values stored in a previously initialized Tensor descriptor object.
/// </summary>
/// <param name="tensorDesc">Handle to a previously initialized tensor descriptor.</param>
/// <param name="nbDimsRequested">Number of dimensions to extract from a given tensor descriptor. It is
/// also the minimum size of the arrays dimA and strideA. If this number is
/// greater than the resulting nbDims[0], only nbDims[0] dimensions will be
/// returned.</param>
/// <param name="dataType">Data type.</param>
/// <param name="nbDims">Actual number of dimensions of the tensor will be returned in nbDims[0].</param>
/// <param name="dimA">Array of dimension of at least nbDimsRequested that will be filled with
/// the dimensions from the provided tensor descriptor.</param>
/// <param name="strideA">Array of dimension of at least nbDimsRequested that will be filled with
/// the strides from the provided tensor descriptor.</param>
This function retrieves values stored in a previously initialized Tensor descriptor object.
This function retrieves values stored in a previously initialized Tensor descriptor object .
[DllImport(CUDNN_API_DLL_NAME)]
		public static extern cudnnStatus cudnnGetTensorNdDescriptor(  cudnnTensorDescriptor tensorDesc,
															   int nbDimsRequested,
															   ref cudnnDataType dataType,
															   ref int nbDims,
															   int[] dimA,
															   int[] strideA
															 );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetTensorNdDescriptor ( cudnnTensorDescriptor tensorDesc , int nbDimsRequested , ref cudnnDataType dataType , ref int nbDims , int [ ] dimA , int [ ] strideA ) ;
This function retrieves values stored in a previously initialized Tensor descriptor object.
This function retrieves values stored in a previously initialized Tensor descriptor object .
tensorDesc
cudnnTensorDescriptor
Handle to a previously initialized tensor descriptor.
Handle to a previously initialized tensor descriptor .
nbDimsRequested
int
Number of dimensions to extract from a given tensor descriptor. It is
also the minimum size of the arrays dimA and strideA. If this number is
greater than the resulting nbDims[0], only nbDims[0] dimensions will be
returned.
Number of dimensions to extract from a given tensor descriptor . It is also the minimum size of the arrays dimA and strideA . If this number is greater than the resulting nbDims [ 0 ] only nbDims [ 0 ] dimensions will be returned .
cudnnDataType
ref
int
ref
dimA
int[]
Array of dimension of at least nbDimsRequested that will be filled with
the dimensions from the provided tensor descriptor.
Array of dimension of at least nbDimsRequested that will be filled with the dimensions from the provided tensor descriptor .
strideA
int[]
Array of dimension of at least nbDimsRequested that will be filled with
the strides from the provided tensor descriptor.
Array of dimension of at least nbDimsRequested that will be filled with the strides from the provided tensor descriptor .
dataType
None
nbDims
Actual number of dimensions of the tensor will be returned in nbDims[0].
Actual number of dimensions of the tensor will be returned in nbDims [ 0 ] .