C# Класс ManagedCuda.CudaDNN.PoolingDescriptor

An opaque structure holding the description of a pooling operation.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 ( TensorDescriptor inputTensorDesc, int &outN, int &outC, int &outH, int &outW ) : void

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 ( TensorDescriptor inputTensorDesc, int nbDims, int outputTensorDimA ) : void

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.

Защищенные методы

Метод Описание
Dispose ( bool fDisposing ) : void

For IDisposable

Описание методов

Dispose() публичный Метод

Dispose
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

For IDisposable
protected Dispose ( bool fDisposing ) : void
fDisposing bool
Результат void

GetPooling2dDescriptor() публичный Метод

This function queries a previously created 2D pooling descriptor object.
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.
Результат void

GetPooling2dForwardOutputDim() публичный Метод

This function provides the output dimensions of a tensor after 2d pooling has been applied
public GetPooling2dForwardOutputDim ( TensorDescriptor inputTensorDesc, int &outN, int &outC, int &outH, int &outW ) : void
inputTensorDesc TensorDescriptor 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
Результат void

GetPoolingNdDescriptor() публичный Метод

This function queries a previously initialized generic pooling descriptor object.
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.
Результат void

GetPoolingNdForwardOutputDim() публичный Метод

This function provides the output dimensions of a tensor after Nd pooling has been applied
public GetPoolingNdForwardOutputDim ( TensorDescriptor inputTensorDesc, int nbDims, int outputTensorDimA ) : void
inputTensorDesc TensorDescriptor 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
Результат void

PoolingDescriptor() публичный Метод

public PoolingDescriptor ( ) : System
Результат System

SetPooling2dDescriptor() публичный Метод

This function initializes a previously created generic pooling descriptor object into a 2D description.
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.
Результат void

SetPoolingNdDescriptor() публичный Метод

This function initializes a previously created generic pooling descriptor object.
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.
Результат void