public static int cudnnGetConvolution2dForwardOutputDim(
        cudnnConvolutionDescriptor convDesc, 
        cudnnTensorDescriptor inputTensorDesc, 
        cudnnFilterDescriptor filterDesc, 
        int[] n, 
        int[] c, 
        int[] h, 
        int[] w)
    {
        return checkResult(cudnnGetConvolution2dForwardOutputDimNative(convDesc, inputTensorDesc, filterDesc, n, c, h, w));
    }
public static int cudnnGetConvolution2dForwardOutputDim ( cudnnConvolutionDescriptor convDesc , cudnnTensorDescriptor inputTensorDesc , cudnnFilterDescriptor filterDesc , int [ ] n , int [ ] c , int [ ] h , int [ ] w ) { return checkResult ( cudnnGetConvolution2dForwardOutputDimNative ( convDesc , inputTensorDesc , filterDesc , n , c , h , w ) ) ; }
Helper function to return the dimensions of the output tensor given a convolution descriptor