Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function initializes a previously created generic Tensor descriptor object.
/// </summary>
/// <param name="tensorDesc">Handle to a previously created tensor descriptor.</param>
/// <param name="dataType">Data type.</param>
/// <param name="nbDims">Dimension of the tensor.</param>
/// <param name="dimA">Array of dimension nbDims that contain the size of the tensor for every dimension.</param>
/// <param name="strideA">Array of dimension nbDims that contain the stride of the tensor for every dimension.</param>
This function initializes a previously created generic Tensor descriptor object.
This function initializes a previously created generic Tensor descriptor object .
[DllImport(CUDNN_API_DLL_NAME)]
		public static extern cudnnStatus cudnnSetTensorNdDescriptor(cudnnTensorDescriptor tensorDesc,
															   cudnnDataType dataType,
															   int nbDims,
															   int[] dimA,
															   int[] strideA
															 );
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnSetTensorNdDescriptor ( cudnnTensorDescriptor tensorDesc , cudnnDataType dataType , int nbDims , int [ ] dimA , int [ ] strideA ) ;
This function initializes a previously created generic Tensor descriptor object.
This function initializes a previously created generic Tensor descriptor object .
tensorDesc
cudnnTensorDescriptor
Handle to a previously created tensor descriptor.
Handle to a previously created tensor descriptor .
dataType
cudnnDataType
None
nbDims
int
Dimension of the tensor.
Dimension of the tensor .
dimA
int[]
Array of dimension nbDims that contain the size of the tensor for every dimension.
Array of dimension nbDims that contain the size of the tensor for every dimension .
strideA
int[]
Array of dimension nbDims that contain the stride of the tensor for every dimension.
Array of dimension nbDims that contain the stride of the tensor for every dimension .