Library/ManagedCuda/CudaDNN/PoolingDescriptor.cs
/// <summary>
/// This function provides the output dimensions of a tensor after Nd pooling has been applied
/// </summary>
/// <param name="inputTensorDesc">Handle to the previously initialized input tensor descriptor.</param>
/// <param name="nbDims">Number of dimensions in which pooling is to be applied.</param>
/// <param name="outputTensorDimA">Array of nbDims output dimensions</param>
This function provides the output dimensions of a tensor after Nd pooling has been applied
This function provides the output dimensions of a tensor after Nd pooling has been applied
public void GetPoolingNdForwardOutputDim(TensorDescriptor inputTensorDesc,
																	 int nbDims,
																	 int[] outputTensorDimA)
		{
			res = CudaDNNNativeMethods.cudnnGetPoolingNdForwardOutputDim(_desc, inputTensorDesc.Desc, nbDims, outputTensorDimA);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnGetPoolingNdForwardOutputDim", res));
			if (res != cudnnStatus.Success) throw new CudaDNNException(res);
		}
public void GetPoolingNdForwardOutputDim ( TensorDescriptor inputTensorDesc , int nbDims , int [ ] outputTensorDimA ) { res = CudaDNNNativeMethods . cudnnGetPoolingNdForwardOutputDim ( _desc , inputTensorDesc . Desc , nbDims , outputTensorDimA ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cudnnStatus . Success ) throw new CudaDNNException ( res ) ; }
This function provides the output dimensions of a tensor after Nd pooling has been applied
This function provides the output dimensions of a tensor after Nd pooling has been applied
inputTensorDesc
TensorDescriptor
Handle to the previously initialized input tensor descriptor.
Handle to the previously initialized input tensor descriptor .
nbDims
int
Number of dimensions in which pooling is to be applied.
Number of dimensions in which pooling is to be applied .
outputTensorDimA
int[]
Array of nbDims output dimensions
Array of nbDims output dimensions