Method | Description | |
---|---|---|
Dispose ( ) : void |
Dispose
|
|
GetPooling2dDescriptor ( cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &windowHeight, int &windowWidth, int &verticalPadding, int &horizontalPadding, int &verticalStride, int &horizontalStride ) : void |
This function queries a previously created 2D pooling descriptor object.
|
|
GetPooling2dForwardOutputDim ( |
This function provides the output dimensions of a tensor after 2d pooling has been applied
|
|
GetPoolingNdDescriptor ( int nbDimsRequested, cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &nbDims, int windowDimA, int paddingA, int strideA ) : void |
This function queries a previously initialized generic pooling descriptor object.
|
|
GetPoolingNdForwardOutputDim ( |
This function provides the output dimensions of a tensor after Nd pooling has been applied
|
|
PoolingDescriptor ( ) : System |
|
|
SetPooling2dDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int windowHeight, int windowWidth, int verticalPadding, int horizontalPadding, int verticalStride, int horizontalStride ) : void |
This function initializes a previously created generic pooling descriptor object into a 2D description.
|
|
SetPoolingNdDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int nbDims, int windowDimA, int paddingA, int strideA ) : void |
This function initializes a previously created generic pooling descriptor object.
|
Method | Description | |
---|---|---|
Dispose ( bool fDisposing ) : void |
For IDisposable
|
public GetPooling2dDescriptor ( cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &windowHeight, int &windowWidth, int &verticalPadding, int &horizontalPadding, int &verticalStride, int &horizontalStride ) : void | ||
mode | cudnnPoolingMode | Enumerant to specify the pooling mode. |
maxpoolingNanOpt | cudnnNanPropagation | Nan propagation option for max pooling. |
windowHeight | int | Height of the pooling window. |
windowWidth | int | Width of the pooling window. |
verticalPadding | int | Size of vertical padding. |
horizontalPadding | int | Size of horizontal padding. |
verticalStride | int | Pooling vertical stride. |
horizontalStride | int | Pooling horizontal stride. |
return | void |
public GetPooling2dForwardOutputDim ( |
||
inputTensorDesc | Handle to the previously initialized input tensor descriptor. | |
outN | int | Number of images in the output |
outC | int | Number of channels in the output |
outH | int | Height of images in the output |
outW | int | Width of images in the output |
return | void |
public GetPoolingNdDescriptor ( int nbDimsRequested, cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &nbDims, int windowDimA, int paddingA, int strideA ) : void | ||
nbDimsRequested | int | Dimension of the expected pooling descriptor. It is also the minimum /// size of the arrays windowDimA, paddingA and strideA in order to be /// able to hold the results |
mode | cudnnPoolingMode | Enumerant to specify the pooling mode. |
maxpoolingNanOpt | cudnnNanPropagation | Nan propagation option for max pooling. |
nbDims | int | Actual dimension of the pooling descriptor. |
windowDimA | int | Array of dimension of at least nbDimsRequested that will be filled with /// the window parameters from the provided pooling descriptor. |
paddingA | int | Array of dimension of at least nbDimsRequested that will be filled with /// the padding parameters from the provided pooling descriptor. |
strideA | int | Array of dimension at least nbDimsRequested that will be filled with /// the stride parameters from the provided pooling descriptor. |
return | void |
public GetPoolingNdForwardOutputDim ( |
||
inputTensorDesc | Handle to the previously initialized input tensor descriptor. | |
nbDims | int | Number of dimensions in which pooling is to be applied. |
outputTensorDimA | int | Array of nbDims output dimensions |
return | void |
public SetPooling2dDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int windowHeight, int windowWidth, int verticalPadding, int horizontalPadding, int verticalStride, int horizontalStride ) : void | ||
mode | cudnnPoolingMode | Enumerant to specify the pooling mode. |
maxpoolingNanOpt | cudnnNanPropagation | Nan propagation option for max pooling. |
windowHeight | int | Height of the pooling window. |
windowWidth | int | Width of the pooling window. |
verticalPadding | int | Size of vertical padding. |
horizontalPadding | int | Size of horizontal padding |
verticalStride | int | Pooling vertical stride. |
horizontalStride | int | Pooling horizontal stride. |
return | void |
public SetPoolingNdDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int nbDims, int windowDimA, int paddingA, int strideA ) : void | ||
mode | cudnnPoolingMode | Enumerant to specify the pooling mode. |
maxpoolingNanOpt | cudnnNanPropagation | Nan propagation option for max pooling. |
nbDims | int | Dimension of the pooling operation. |
windowDimA | int | Array of dimension nbDims containing the window size for each dimension. |
paddingA | int | Array of dimension nbDims containing the padding size for each dimension. |
strideA | int | Array of dimension nbDims containing the striding size for each dimension. |
return | void |