code: def cudnnCreatePoolingDescriptor():
      
      Create pooling descriptor.
  
      This function creates a pooling descriptor object by allocating the memory needed to
      hold its opaque structure,
  
      Returns
      -------
      poolingDesc : cudnnPoolingDescriptor
          Newly allocated pooling descriptor.
      """
  
      poolingDesc = ctypes.c_void_p()
      status = _libcudnn.cudnnCreatePoolingDescriptor(ctypes.byref(poolingDesc))
      cudnnCheckStatus(status)
  
      return poolingDesc.value
docs: Create pooling descriptor.
  
      This function creates a pooling descriptor object by allocating the memory needed to
      hold its opaque structure,
  
      Returns
      -------
      poolingDesc : cudnnPoolingDescriptor
          Newly allocated pooling descriptor.