paleo/third_party/libcudnn.py
def cudnnGetFilter4dDescriptor(wDesc):
    """"
    Get parameters of filter descriptor.

    This function queries the parameters of the previouly initialized filter descriptor object.

    Parameters
    ----------
    wDesc : cudnnFilterDescriptor
        Handle to a previously created filter descriptor.

    Returns
    -------
    dataType : cudnnDataType
        Data type.
    k : int
        Number of output feature maps.
    c : int
        Number of input feature maps.
    h : int
        Height of each filter.
    w : int
        Width of each filter.
    """

    dataType = ctypes.c_int()
    k = ctypes.c_int()
    c = ctypes.c_int()
    h = ctypes.c_int()
    w = ctypes.c_int()

    status = _libcudnn.cudnnGetFilter4dDescriptor(
        wDesc, ctypes.byref(dataType), ctypes.byref(k), ctypes.byref(c),
        ctypes.byref(h), ctypes.byref(w))
    cudnnCheckStatus(status)

    return dataType.value, k.value, c.value, h.value, w.value

    Get parameters of filter descriptor.

    This function queries the parameters of the previouly initialized filter descriptor object.

    Parameters
    ----------
    wDesc : cudnnFilterDescriptor
        Handle to a previously created filter descriptor.

    Returns
    -------
    dataType : cudnnDataType
        Data type.
    k : int
        Number of output feature maps.
    c : int
        Number of input feature maps.
    h : int
        Height of each filter.
    w : int
        Width of each filter.
    
Get parameters of filter descriptor.
This function queries the parameters of the previouly initialized filter descriptor object.

Parameters

wDesc : cudnnFilterDescriptor
Handle to a previously created filter descriptor.

Returns

dataType : cudnnDataType
Data type.
k : int
Number of output feature maps.
c : int
Number of input feature maps.
h : int
Height of each filter.
w : int
Width of each filter.
Get parameters of filter descriptor . This function queries the parameters of the previouly initialized filter descriptor object . Parameters wDesc : cudnnFilterDescriptor Handle to a previously created filter descriptor . Returns dataType : cudnnDataType Data type . k : int Number of output feature maps . c : int Number of input feature maps . h : int Height of each filter . w : int Width of each filter .
def cudnnGetFilter4dDescriptor(wDesc):
    dataType = ctypes.c_int()
    k = ctypes.c_int()
    c = ctypes.c_int()
    h = ctypes.c_int()
    w = ctypes.c_int()
    status = _libcudnn.cudnnGetFilter4dDescriptor(
        wDesc, ctypes.byref(dataType), ctypes.byref(k), ctypes.byref(c),
        ctypes.byref(h), ctypes.byref(w))
    cudnnCheckStatus(status)
    return dataType.value, k.value, c.value, h.value, w.value
def cudnnGetFilter4dDescriptor ( wDesc ) : dataType = ctypes . c_int ( ) k = ctypes . c_int ( ) c = ctypes . c_int ( ) h = ctypes . c_int ( ) w = ctypes . c_int ( ) status = _libcudnn . cudnnGetFilter4dDescriptor ( wDesc , ctypes . byref ( dataType ) , ctypes . byref ( k ) , ctypes . byref ( c ) , ctypes . byref ( h ) , ctypes . byref ( w ) ) cudnnCheckStatus ( status ) return dataType . value , k . value , c . value , h . value , w . value
Get parameters of filter descriptor.
Get parameters of filter descriptor .
""""
    Get parameters of filter descriptor.

    This function queries the parameters of the previouly initialized filter descriptor object.

    Parameters
    ----------
    wDesc : cudnnFilterDescriptor
        Handle to a previously created filter descriptor.

    Returns
    -------
    dataType : cudnnDataType
        Data type.
    k : int
        Number of output feature maps.
    c : int
        Number of input feature maps.
    h : int
        Height of each filter.
    w : int
        Width of each filter.
    """
wDesc