paleo/third_party/libcudnn.py
def cudnnSetFilter4dDescriptor(wDesc, dataType, ft, k, c, h, w):
    """"
    Initialize a filter descriptor.

    This function initializes a previously created filter descriptor object into a 4D filter.
    Filters layout must be contiguous in memory.

    Parameters
    ----------
    wDesc : cudnnFilterDescriptor
        Handle to a previously created filter descriptor.
    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.
    """

    status = _libcudnn.cudnnSetFilter4dDescriptor_v4(wDesc, dataType, ft, k, c,
                                                     h, w)
    cudnnCheckStatus(status)

    Initialize a filter descriptor.

    This function initializes a previously created filter descriptor object into a 4D filter.
    Filters layout must be contiguous in memory.

    Parameters
    ----------
    wDesc : cudnnFilterDescriptor
        Handle to a previously created filter descriptor.
    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.
    
Initialize a filter descriptor.
This function initializes a previously created filter descriptor object into a 4D filter.
Filters layout must be contiguous in memory.

Parameters

wDesc : cudnnFilterDescriptor
Handle to a previously created filter descriptor.
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.
Initialize a filter descriptor . This function initializes a previously created filter descriptor object into a 4D filter . Filters layout must be contiguous in memory . Parameters wDesc : cudnnFilterDescriptor Handle to a previously created filter descriptor . 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 cudnnSetFilter4dDescriptor(wDesc, dataType, ft, k, c, h, w):
    status = _libcudnn.cudnnSetFilter4dDescriptor_v4(wDesc, dataType, ft, k, c,
                                                     h, w)
    cudnnCheckStatus(status)
def cudnnSetFilter4dDescriptor ( wDesc , dataType , ft , k , c , h , w ) : status = _libcudnn . cudnnSetFilter4dDescriptor_v4 ( wDesc , dataType , ft , k , c , h , w ) cudnnCheckStatus ( status )
Initialize a filter descriptor.
Initialize a filter descriptor .
""""
    Initialize a filter descriptor.

    This function initializes a previously created filter descriptor object into a 4D filter.
    Filters layout must be contiguous in memory.

    Parameters
    ----------
    wDesc : cudnnFilterDescriptor
        Handle to a previously created filter descriptor.
    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
dataType
ft
k
c
h
w