ManagedCuda.CudaDNN.PoolingDescriptor.PoolingDescriptor C# (CSharp) Method

PoolingDescriptor() public method

public PoolingDescriptor ( ) : System
return System
        public PoolingDescriptor()
        {
            _desc = new cudnnPoolingDescriptor();
            res = CudaDNNNativeMethods.cudnnCreatePoolingDescriptor(ref _desc);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreatePoolingDescriptor", res));
            if (res != cudnnStatus.Success) throw new CudaDNNException(res);
        }